File tree Expand file tree Collapse file tree 9 files changed +93
-2930
lines changed
Expand file tree Collapse file tree 9 files changed +93
-2930
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Build and test
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ macos-build :
11+ runs-on : macos-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - name : Configure CMake and build
15+ run : ${{ github.workspace }}/scripts/build.sh
16+ - name : Running tests
17+ run : |
18+ ${{ github.workspace }}/scripts/test.sh
19+ env :
20+ HOOK_HOME : ${{ github.workspace }}
Original file line number Diff line number Diff line change 88jobs :
99
1010 ubuntu-release :
11- runs-on : ubuntu-20.04
11+ runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v2
1414 - name : Configure CMake and build for release
Original file line number Diff line number Diff line change 1+ name : Build and test
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ ubuntu-build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - name : Configure CMake and build
15+ run : ${{ github.workspace }}/scripts/build.sh
16+ - name : Running tests
17+ run : |
18+ ${{ github.workspace }}/scripts/test.sh
19+ env :
20+ HOOK_HOME : ${{ github.workspace }}
21+ - name : Code coverage
22+ run : |
23+ gcov src/*.c
24+ bash <(curl -s https://codecov.io/bash)
25+ env :
26+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Build and test
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ windows-build :
11+ runs-on : windows-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - name : Add msbuild to PATH
15+ uses : microsoft/setup-msbuild@v1.1
16+ - name : Configure CMake and build
17+ run : ${{ github.workspace }}/scripts/build.bat
18+ - name : Running tests
19+ run : |
20+ ${{ github.workspace }}/scripts/test.bat
21+ env :
22+ HOOK_HOME : ${{ github.workspace }}
You can’t perform that action at this time.
0 commit comments