Skip to content

Commit 8ec2e23

Browse files
committed
Rework curl action to use actions-build-autotools-project
1 parent 72d99d0 commit 8ec2e23

1 file changed

Lines changed: 18 additions & 28 deletions

File tree

.github/workflows/curl.yml

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,26 @@ on:
66

77
jobs:
88
build:
9-
109
runs-on: ubuntu-latest
11-
10+
# This should be a safe limit for the tests to run.
11+
timeout-minutes: 14
1212
steps:
13-
- uses: actions/checkout@master
14-
- name: autogen
15-
run: ./autogen.sh
16-
- name: configure
17-
run: ./configure --enable-all
18-
- name: make
19-
run: make
20-
- name: install
21-
run: sudo make install
22-
- uses: actions/checkout@master
13+
- name: Install test dependencies
14+
run: |
15+
sudo apt-get update
16+
sudo apt-get install nghttp2
17+
18+
- name: Build wolfSSL
19+
uses: wolfSSL/actions-build-autotools-project@v1
20+
with:
21+
path: wolfssl
22+
configure: --enable-curl
23+
install: true
24+
25+
- name: Build and test stunnel
26+
uses: wolfSSL/actions-build-autotools-project@v1
2327
with:
2428
repository: curl/curl
2529
path: curl
26-
- name: Install test dependency
27-
working-directory: ./curl
28-
run: sudo apt-get install nghttp2
29-
- name: curl buildconf
30-
working-directory: ./curl
31-
run: ./buildconf
32-
- name: curl configure
33-
working-directory: ./curl
34-
run: ./configure --with-wolfssl
35-
- name: curl make
36-
working-directory: ./curl
37-
run: make
38-
- name: curl unit tests
39-
working-directory: ./curl
40-
run: make test
41-
30+
configure: --with-wolfssl=$GITHUB_WORKSPACE/build-dir
31+
check: true

0 commit comments

Comments
 (0)