Skip to content

Update build-and-test.yml #19

Update build-and-test.yml

Update build-and-test.yml #19

Workflow file for this run

name: LibJWT Unit Tests, Coverage, and Docs
on:
push:
branches: [ "testing-builds" ]
jobs:
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ConorMacBride/install-package@v1
with:
brew: gnutls openssl@3 jansson pkgconf cmake doxygen graphviz check
- name: Build, Test, and Docs
uses: threeal/[email protected]
with:
options: |
WITH_OPENSSL=YES
WITH_GNUTLS=YES
WITH_TESTS=YES
build-args: |
check
doxygen-doc
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ConorMacBride/install-package@v1
with:
apt: gnutls-dev libssl-dev libjansson-dev pkg-config check lcov valgrind
- name: Build, Test, and Coverage
uses: threeal/[email protected]
with:

Check failure on line 37 in .github/workflows/build-and-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-and-test.yml

Invalid workflow file

You have an error in your yaml syntax on line 37
options: |
WITH_OPENSSL=YES
WITH_GNUTLS=YES
WITH_TESTS=YES
ENABLE_COVERAGE=YES
build-args: |
check
check-code-coverage
- uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{github.workspace}}/build/check-code-coverage.info
verbose: true
- name: Memcheck
working-directory: ${{github.workspace}}/build
run: ctest -T memcheck