-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing tests and adding GitHub Actions build which resolves #472
- Loading branch information
Showing
4 changed files
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
* text=auto | ||
|
||
# These files are text and should be normalized (convert crlf to lf) | ||
*.rb text | ||
*.test text | ||
*.c text | ||
*.cpp text | ||
*.h text | ||
*.txt text | ||
*.yml text | ||
*.s79 text | ||
*.bat text | ||
*.xcl text | ||
*.inc text | ||
*.info text | ||
*.md text | ||
makefile text | ||
rakefile text | ||
meson.build text | ||
|
||
|
||
#These files are binary and should not be normalized | ||
*.doc binary | ||
*.odt binary | ||
*.pdf binary | ||
*.ewd binary | ||
*.eww binary | ||
*.dni binary | ||
*.wsdt binary | ||
*.dbgdt binary | ||
*.mac binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Ubuntu unit tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install packages | ||
run: sudo apt-get update && sudo apt install -y build-essential qttools5-dev-tools ccache libncursesw5-dev libreadline-dev | ||
|
||
- name: Build lib and run unit tests using Unity test framework | ||
run: cd test && qmake hstr-unit-tests.pro && make clean all && ./hstr-unit-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters