mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-30 10:18:40 +00:00
* some manual fixes to obtain * fairly close enough * whitespace fixes * add comment * adding clang format + applied * add editorconfig (supported natively by github web editor) * apply linting to project * clean up CI workflows * zap vcpkg folder actual one is here https://github.com/microsoft/vcpkg/tree/master/ports/jwt-cpp * adding a logo * thin the lines in the pluses * use logo + more links to spec and examples * Create lint.yml * apply linting
37 lines
803 B
YAML
37 lines
803 B
YAML
name: Traits CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
paths:
|
|
- "CMakeLists.txt"
|
|
- "include/jwt-cpp/**"
|
|
- "tests/jsoncons/**"
|
|
- ".github/actions/**"
|
|
- ".github/workflows/traits.yml"
|
|
|
|
jobs:
|
|
jsoncons:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: lukka/get-cmake@latest
|
|
- uses: ./.github/actions/install/gtest
|
|
- uses: ./.github/actions/install/jsoncons
|
|
|
|
- name: setup
|
|
run: |
|
|
mkdir build
|
|
cd build
|
|
cmake .. -DJWT_BUILD_EXAMPLES=OFF
|
|
sudo make install
|
|
|
|
- name: test
|
|
run: |
|
|
cd tests/jsoncons
|
|
cmake . -DCMAKE_PREFIX_PATH=/usr/local/cmake
|
|
cmake --build .
|
|
./jsoncons-traits-narrow
|