Skip to content

Commit dd1459e

Browse files
Merge pull request #6859 from julek-wolfssl/curl-releases
Test curl releases
2 parents 4001734 + 962c315 commit dd1459e

1 file changed

Lines changed: 33 additions & 7 deletions

File tree

.github/workflows/curl.yml

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,55 @@ on:
44
workflow_call:
55

66
jobs:
7-
build-and-test:
7+
build_wolfssl:
8+
name: Build wolfSSL
89
runs-on: ubuntu-latest
910
# This should be a safe limit for the tests to run.
10-
timeout-minutes: 25
11+
timeout-minutes: 4
12+
steps:
13+
- name: Build wolfSSL
14+
uses: wolfSSL/actions-build-autotools-project@v1
15+
with:
16+
path: wolfssl
17+
configure: --enable-curl
18+
install: true
19+
20+
- name: Upload built lib
21+
uses: actions/upload-artifact@v3
22+
with:
23+
name: wolf-install-curl
24+
path: build-dir
25+
retention-days: 1
26+
27+
test_curl:
28+
name: ${{ matrix.curl_ref }}
29+
runs-on: ubuntu-latest
30+
# This should be a safe limit for the tests to run.
31+
timeout-minutes: 15
32+
needs: build_wolfssl
33+
strategy:
34+
fail-fast: false
35+
matrix:
36+
curl_ref: [ 'master', 'curl-8_4_0' ]
1137
steps:
1238
- name: Install test dependencies
1339
run: |
1440
sudo apt-get update
1541
sudo apt-get install nghttp2
1642
sudo pip install impacket
1743
18-
- name: Build wolfSSL
19-
uses: wolfSSL/actions-build-autotools-project@v1
44+
- name: Download lib
45+
uses: actions/download-artifact@v3
2046
with:
21-
path: wolfssl
22-
configure: --enable-curl
23-
install: true
47+
name: wolf-install-curl
48+
path: build-dir
2449

2550
- name: Build curl
2651
uses: wolfSSL/actions-build-autotools-project@v1
2752
with:
2853
repository: curl/curl
2954
path: curl
55+
ref: ${{ matrix.curl_ref }}
3056
configure: --with-wolfssl=$GITHUB_WORKSPACE/build-dir
3157
check: false
3258

0 commit comments

Comments
 (0)