Skip to content

Commit

Permalink
GH actions: use non-system install for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Lealem Amedie committed Jun 4, 2024
1 parent d7098c6 commit df5e220
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/fsanitize-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,27 @@ jobs:
with:
repository: wolfssl/wolfssl
path: wolfssl
- name: set wolfssl path
working-directory: ./wolfssl
run: export WOLFSSL_PATH=$PWD
- name: wolfssl configure
- name: wolfssl autogen
working-directory: ./wolfssl
run: ./autogen.sh
- name: wolfssl configure
working-directory: ./wolfssl
run: ./configure --enable-wolfclu --enable-crl --enable-dsa
run: ./configure --enable-wolfclu --enable-crl --enable-dsa --prefix=$WOLFSSL_PATH/install-dir
- name: wolfssl make
working-directory: ./wolfssl
run: make
- name: wolfssl make install
working-directory: ./wolfssl
run: sudo make install
- name: ldconfig
working-directory: ./wolfssl
run: sudo ldconfig
run: make install
- uses: actions/checkout@master
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure CC="gcc -fsanitize=address"
run: ./configure CC="gcc -fsanitize=address" --with-wolfssl=$WOLFSSL_PATH/install-dir
- name: make
run: make
- name: make check
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/macos-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,15 @@ jobs:
path: wolfssl
- name: brew
run: brew install automake libtool
- name: set wolfssl path
working-directory: ./wolfssl
run: export WOLFSSL_PATH=$PWD
- name: wolfssl autogen
working-directory: ./wolfssl
run: ./autogen.sh
- name: wolfssl configure
working-directory: ./wolfssl
run: ./configure --enable-wolfclu --enable-crl --enable-dsa
run: ./configure --enable-wolfclu --enable-crl --enable-dsa --prefix=$WOLFSSL_PATH/install-dir
- name: wolfssl make
working-directory: ./wolfssl
run: make
Expand All @@ -33,7 +36,7 @@ jobs:
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure
run: ./configure --with-wolfssl=$WOLFSSL_PATH/install-dir
- name: make
run: make
- name: make check
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ubuntu-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,26 @@ jobs:
with:
repository: wolfssl/wolfssl
path: wolfssl
- name: set wolfssl path
working-directory: ./wolfssl
run: export WOLFSSL_PATH=$PWD
- name: wolfssl autogen
working-directory: ./wolfssl
run: ./autogen.sh
- name: wolfssl configure
working-directory: ./wolfssl
run: ./configure --enable-wolfclu --enable-crl --enable-dsa
run: ./configure --enable-wolfclu --enable-crl --enable-dsa --prefix=$WOLFSSL_PATH/install-dir
- name: wolfssl make
working-directory: ./wolfssl
run: make
- name: wolfssl make install
working-directory: ./wolfssl
run: sudo make install
- name: ldconfig
working-directory: ./wolfssl
run: sudo ldconfig
run: make install
- uses: actions/checkout@master
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure
run: ./configure --with-wolfssl=$WOLFSSL_PATH/install-dir
- name: make
run: make
- name: make check
Expand Down

0 comments on commit df5e220

Please sign in to comment.