-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ben Collins <[email protected]> [ci-skip]
- Loading branch information
1 parent
344403b
commit 8367f2d
Showing
1 changed file
with
10 additions
and
5 deletions.
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 |
---|---|---|
|
@@ -22,8 +22,13 @@ jobs: | |
brew: gnutls openssl@3 jansson pkgconf cmake doxygen graphviz | ||
apt: gnutls-dev libssl-dev libjansson-dev pkg-config check lcov valgrind | ||
|
||
- name: Configure CMake on ${{ matrix.os }} | ||
run: cmake -B ${{github.workspace}}/build -DENABLE_COVERAGE=YES | ||
- if: matrix.os == "ubuntu-latest" | ||
name: Configure CMake on ${{ matrix.os }} | ||
run: cmake -B ${{github.workspace}}/build -DENABLE_COVERAGE=YES -DWITH_GNUTLS=NO | ||
|
||
- if: matrix.os == "macos-latest" | ||
name: Configure CMake on ${{ matrix.os }} | ||
run: cmake -B ${{github.workspace}}/build | ||
|
||
- name: Build on ${{ matrix.os }} | ||
working-directory: ${{github.workspace}}/build | ||
|
@@ -33,12 +38,12 @@ jobs: | |
working-directory: ${{github.workspace}}/build | ||
run: make check | ||
|
||
- if: ${{ matrix.os }} == "ubuntu-latest" | ||
- if: matrix.os == "ubuntu-latest" | ||
name: Coverage on ${{ matrix.os }} | ||
working-directory: ${{github.workspace}}/build | ||
run: make check-code-coverage | ||
|
||
- if: ${{ matrix.os }} == "ubuntu-latest" | ||
- if: matrix.os == "ubuntu-latest" | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
@@ -48,7 +53,7 @@ jobs: | |
working-directory: ${{github.workspace}}/build | ||
run: ctest -T memcheck | ||
|
||
- if: ${{ matrix.os }} == "macos-latest" | ||
- if: matrix.os == "macos-latest" | ||
name: Documents on ${{ matrix.os }} | ||
working-directory: ${{github.workspace}}/build | ||
run: make doxygen-doc |