mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-30 10:18:40 +00:00
📬 adding test for non-default cmake install prefix (#116)
* adding test for non-default cmake install prefix This is to follow up from https://github.com/Thalhammer/jwt-cpp/pull/114#issuecomment-739573587
This commit is contained in:
20
.github/workflows/cmake.yml
vendored
20
.github/workflows/cmake.yml
vendored
@@ -36,6 +36,26 @@ jobs:
|
||||
cmake . -DCMAKE_PREFIX_PATH=/usr/local/cmake -DTEST:STRING="defaults-enabled"
|
||||
cmake --build .
|
||||
|
||||
custom-install:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: install cmake
|
||||
uses: lukka/get-cmake@latest
|
||||
|
||||
- name: setup
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX:STRING="/opt/jwt-cpp" -DJWT_BUILD_EXAMPLES=OFF
|
||||
make install
|
||||
|
||||
- name: test
|
||||
run: |
|
||||
cd tests/cmake
|
||||
cmake . -DCMAKE_PREFIX_PATH=/opt/jwt-cpp/cmake -DTEST:STRING="defaults-enabled"
|
||||
cmake --build .
|
||||
|
||||
no-pico:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
5
.github/workflows/coverage.yml
vendored
5
.github/workflows/coverage.yml
vendored
@@ -5,6 +5,11 @@ on:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- 'CMakeLists.txt'
|
||||
- 'include/jwt-cpp/**'
|
||||
- 'tests/*'
|
||||
- '.github/workflows/coverate.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
5
.github/workflows/libresssl.yml
vendored
5
.github/workflows/libresssl.yml
vendored
@@ -5,6 +5,11 @@ on:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- 'CMakeLists.txt'
|
||||
- 'include/jwt-cpp/**'
|
||||
- 'tests/*'
|
||||
- '.github/workflows/libressl.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user