36 lines
805 B
YAML
Raw Normal View History

2023-07-11 11:46:55 -06:00
name: curl Test
2023-07-11 11:27:45 -06:00
on:
2023-07-11 11:46:55 -06:00
workflow_call:
2023-07-11 11:27:45 -06:00
jobs:
2023-10-10 14:19:03 +02:00
build-and-test:
2023-07-11 11:27:45 -06:00
runs-on: ubuntu-latest
# This should be a safe limit for the tests to run.
2023-10-10 14:36:00 +02:00
timeout-minutes: 25
2023-07-11 11:27:45 -06:00
steps:
- name: Install test dependencies
run: |
sudo apt-get update
sudo apt-get install nghttp2
2023-10-10 11:37:48 +02:00
sudo pip install impacket
- name: Build wolfSSL
uses: wolfSSL/actions-build-autotools-project@v1
with:
path: wolfssl
configure: --enable-curl
install: true
2023-10-10 14:19:03 +02:00
- name: Build curl
uses: wolfSSL/actions-build-autotools-project@v1
2023-07-11 11:27:45 -06:00
with:
repository: curl/curl
path: curl
configure: --with-wolfssl=$GITHUB_WORKSPACE/build-dir
2023-10-10 14:19:03 +02:00
check: false
- name: Test curl
working-directory: curl
run: make -j test-ci