Skip to content

Commit

Permalink
Move the path to wolfssl
Browse files Browse the repository at this point in the history
  • Loading branch information
ejohnstown committed May 17, 2024
1 parent 02ccfa6 commit 35763f9
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/os-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
uses: actions/cache@v4
id: cache-wolfssl
with:
path: opt/wolfssl/${{ matrix.os }}/
key: wolfssh-common-wolfssl-${{ env.WOLFSSL_REF }}-${{ matrix.os }}
path: build-dir/
key: wolfssh-os-check-wolfssl-${{ env.WOLFSSL_REF }}-${{ matrix.os }}
lookup-only: true

- name: Checkout, build, and install wolfssl
Expand All @@ -42,12 +42,6 @@ jobs:
check: false
install: true

- shell: bash
if: steps.cache-wolfssl.outputs.cache-hit != 'true'
run: |
mkdir -p opt/wolfssl
mv build-dir opt/wolfssl/${{ matrix.os }}
build_wolfssh:
strategy:
fail-fast: false
Expand All @@ -68,14 +62,14 @@ jobs:
- name: Checking cache for wolfssl
uses: actions/cache@v4
with:
path: opt/wolfssl/${{ matrix.os }}/
key: wolfssh-common-wolfssl-${{ env.WOLFSSL_REF }}-${{ matrix.os }}
path: build-dir/
key: wolfssh-os-check-wolfssl-${{ env.WOLFSSL_REF }}-${{ matrix.os }}
fail-on-cache-miss: true

- name: Checkout, build, and test wolfssh
uses: wolfSSL/actions-build-autotools-project@v1
with:
repository: wolfssl/wolfssh
path: wolfssh
configure: ${{ matrix.config }} LDFLAGS="-L${{ github.workspace }}/opt/wolfssl/${{ matrix.os }}/lib" CPPFLAGS="-I${{ github.workspace }}/opt/wolfssl/${{ matrix.os }}/include"
configure: ${{ matrix.config }} LDFLAGS="-L${{ github.workspace }}/build-dir/lib" CPPFLAGS="-I${{ github.workspace }}/build-dir/include"
check: true

0 comments on commit 35763f9

Please sign in to comment.