mirror of https://github.com/wolfSSL/wolfssl.git
commit
dd1459ec8e
|
@ -4,17 +4,12 @@ on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build_wolfssl:
|
||||||
|
name: Build wolfSSL
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# This should be a safe limit for the tests to run.
|
# This should be a safe limit for the tests to run.
|
||||||
timeout-minutes: 25
|
timeout-minutes: 4
|
||||||
steps:
|
steps:
|
||||||
- name: Install test dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install nghttp2
|
|
||||||
sudo pip install impacket
|
|
||||||
|
|
||||||
- name: Build wolfSSL
|
- name: Build wolfSSL
|
||||||
uses: wolfSSL/actions-build-autotools-project@v1
|
uses: wolfSSL/actions-build-autotools-project@v1
|
||||||
with:
|
with:
|
||||||
|
@ -22,11 +17,42 @@ jobs:
|
||||||
configure: --enable-curl
|
configure: --enable-curl
|
||||||
install: true
|
install: true
|
||||||
|
|
||||||
|
- name: Upload built lib
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: wolf-install-curl
|
||||||
|
path: build-dir
|
||||||
|
retention-days: 1
|
||||||
|
|
||||||
|
test_curl:
|
||||||
|
name: ${{ matrix.curl_ref }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 15
|
||||||
|
needs: build_wolfssl
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
curl_ref: [ 'master', 'curl-8_4_0' ]
|
||||||
|
steps:
|
||||||
|
- name: Install test dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install nghttp2
|
||||||
|
sudo pip install impacket
|
||||||
|
|
||||||
|
- name: Download lib
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: wolf-install-curl
|
||||||
|
path: build-dir
|
||||||
|
|
||||||
- name: Build curl
|
- name: Build curl
|
||||||
uses: wolfSSL/actions-build-autotools-project@v1
|
uses: wolfSSL/actions-build-autotools-project@v1
|
||||||
with:
|
with:
|
||||||
repository: curl/curl
|
repository: curl/curl
|
||||||
path: curl
|
path: curl
|
||||||
|
ref: ${{ matrix.curl_ref }}
|
||||||
configure: --with-wolfssl=$GITHUB_WORKSPACE/build-dir
|
configure: --with-wolfssl=$GITHUB_WORKSPACE/build-dir
|
||||||
check: false
|
check: false
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue