Skip to content

Commit

Permalink
add examples to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-chrismc committed Jul 8, 2024
1 parent 7c4214c commit c773867
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/jwt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
cmake --build --preset ci-asan --target rsa-create-run
cmake --build --preset ci-asan --target rsa-verify-run
cmake --build --preset ci-asan --target jwks-verify-run
cmake --build --preset ci-asan --target es256k-run
cmake --build --preset ci-asan --target hs512-run
cmake --build --preset ci-asan --target jwt-cpp-test-run
ubsan:
Expand All @@ -92,4 +94,6 @@ jobs:
cmake --build --preset ci-ubsan --target rsa-create-run
cmake --build --preset ci-ubsan --target rsa-verify-run
cmake --build --preset ci-ubsan --target jwks-verify-run
cmake --build --preset ci-ubsan --target es256k-run
cmake --build --preset ci-ubsan --target hs512-run
cmake --build --preset ci-ubsan --target jwt-cpp-test-run
2 changes: 2 additions & 0 deletions example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ add_custom_target(jwks-verify-run COMMAND jwks-verify)

add_executable(es256k es256k.cpp)
target_link_libraries(es256k jwt-cpp::jwt-cpp)
add_custom_target(es256k-run COMMAND es256k)

add_executable(hs512 hs512.cpp)
target_link_libraries(hs512 jwt-cpp::jwt-cpp)
add_custom_target(hs512-run COMMAND hs512)

add_executable(partial-claim-verifier partial-claim-verifier.cpp)
target_link_libraries(partial-claim-verifier jwt-cpp::jwt-cpp nlohmann_json::nlohmann_json)

0 comments on commit c773867

Please sign in to comment.