Files
jwt-cpp/.github/workflows/traits.yml
Arjen Hoogesteger 14061f1e11 🛠️ User set CMake install subdirectory + cross-platform default location (#142)
* Changed the JWT_CMAKE_FILES_INSTALL_DIR such that it is found on both Windows and Unix and that it may be configured to something entirely different

* Update cmake.yml

* Update cmake.yml

* Update CMakeLists.txt

Co-authored-by: Chris Mc <prince.chrismc@gmail.com>

* Update .github/workflows/cmake.yml

Co-authored-by: Chris Mc <prince.chrismc@gmail.com>

* Update .github/workflows/cmake.yml

Co-authored-by: Chris Mc <prince.chrismc@gmail.com>

* Update .github/workflows/cmake.yml

Co-authored-by: Chris Mc <prince.chrismc@gmail.com>

Co-authored-by: Arjen Hoogesteger <arjen.hoogesteger@sweco.nl>
Co-authored-by: Arjen Hoogesteger <65287900+sweco-nlahoo@users.noreply.github.com>

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update traits.yml

* trying different cmake path + debug in actions

* fix typo

* quick test for installing in lib dir

* revert

Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
2021-05-19 11:50:22 -04:00

37 lines
823 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 -DCMAKE_FIND_DEBUG_MODE=1
sudo cmake --install .
- name: test
run: |
cd tests/jsoncons
cmake . -DCMAKE_FIND_DEBUG_MODE=1
cmake --build .
./jsoncons-traits-narrow