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