forked from wolfSSL/wolfssl
Addressing PR comments
This commit is contained in:
16
.github/workflows/jwt-cpp.yml
vendored
16
.github/workflows/jwt-cpp.yml
vendored
@ -41,13 +41,17 @@ jobs:
|
|||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
||||||
build_pam-ipmi:
|
build_pam-ipmi:
|
||||||
|
if: github.repository_owner == 'wolfssl'
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
ref: [ 0.7.0 ]
|
config:
|
||||||
name: ${{ matrix.ref }}
|
- ref: 0.7.0
|
||||||
if: github.repository_owner == 'wolfssl'
|
runner: ubuntu-latest
|
||||||
runs-on: ubuntu-latest
|
- ref: 0.6.0
|
||||||
|
runner: ubuntu-22.04
|
||||||
|
name: ${{ matrix.config.ref }}
|
||||||
|
runs-on: ${{ matrix.config.runner }}
|
||||||
needs: build_wolfssl
|
needs: build_wolfssl
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@ -76,12 +80,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: Thalhammer/jwt-cpp
|
repository: Thalhammer/jwt-cpp
|
||||||
path: jwt-cpp
|
path: jwt-cpp
|
||||||
ref: v${{ matrix.ref }}
|
ref: v${{ matrix.config.ref }}
|
||||||
|
|
||||||
- name: Build pam-ipmi
|
- name: Build pam-ipmi
|
||||||
working-directory: jwt-cpp
|
working-directory: jwt-cpp
|
||||||
run: |
|
run: |
|
||||||
patch -p1 < ../osp/jwt-cpp/${{ matrix.ref }}.patch
|
patch -p1 < ../osp/jwt-cpp/${{ matrix.config.ref }}.patch
|
||||||
PKG_CONFIG_PATH=$GITHUB_WORKSPACE/build-dir/lib/pkgconfig \
|
PKG_CONFIG_PATH=$GITHUB_WORKSPACE/build-dir/lib/pkgconfig \
|
||||||
cmake -B build -DJWT_SSL_LIBRARY:STRING=wolfSSL -DJWT_BUILD_TESTS=ON .
|
cmake -B build -DJWT_SSL_LIBRARY:STRING=wolfSSL -DJWT_BUILD_TESTS=ON .
|
||||||
make -j -C build
|
make -j -C build
|
||||||
|
Reference in New Issue
Block a user