Rework curl action to use actions-build-autotools-project

This commit is contained in:
Juliusz Sosinowicz
2023-07-21 15:49:09 +02:00
parent 72d99d0ae0
commit 8ec2e23773

View File

@ -6,36 +6,26 @@ on:
jobs:
build:
runs-on: ubuntu-latest
# This should be a safe limit for the tests to run.
timeout-minutes: 14
steps:
- uses: actions/checkout@master
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure --enable-all
- name: make
run: make
- name: install
run: sudo make install
- uses: actions/checkout@master
- name: Install test dependencies
run: |
sudo apt-get update
sudo apt-get install nghttp2
- name: Build wolfSSL
uses: wolfSSL/actions-build-autotools-project@v1
with:
path: wolfssl
configure: --enable-curl
install: true
- name: Build and test stunnel
uses: wolfSSL/actions-build-autotools-project@v1
with:
repository: curl/curl
path: curl
- name: Install test dependency
working-directory: ./curl
run: sudo apt-get install nghttp2
- name: curl buildconf
working-directory: ./curl
run: ./buildconf
- name: curl configure
working-directory: ./curl
run: ./configure --with-wolfssl
- name: curl make
working-directory: ./curl
run: make
- name: curl unit tests
working-directory: ./curl
run: make test
configure: --with-wolfssl=$GITHUB_WORKSPACE/build-dir
check: true