mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Rework curl action to use actions-build-autotools-project
This commit is contained in:
46
.github/workflows/curl.yml
vendored
46
.github/workflows/curl.yml
vendored
@ -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
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user