Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/traits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,21 @@ jobs:
with:
version: ${{matrix.target.tag}}

- name: test
- name: test example
working-directory: example/traits
run: |
cmake . -DCMAKE_FIND_DEBUG_MODE=1
cmake --build . --target ${{ matrix.target.name }}
./${{ matrix.target.name }}

- name: test unit
run: |
mkdir build_unit
cd build_unit
cmake .. -DJWT_BUILD_TESTS=ON
cmake --build . --target jwt-cpp-test
./tests/jwt-cpp-test

- name: badge success
if: github.event_name == 'push' && success()
uses: ./.github/actions/badge/write
Expand Down