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:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
2023-07-21 15:49:09 +02:00
|
|
|
# This should be a safe limit for the tests to run.
|
|
|
|
timeout-minutes: 14
|
2023-07-11 11:27:45 -06:00
|
|
|
steps:
|
2023-07-21 15:49:09 +02:00
|
|
|
- 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
|
2023-07-21 15:49:09 +02:00
|
|
|
|
|
|
|
- name: Build wolfSSL
|
|
|
|
uses: wolfSSL/actions-build-autotools-project@v1
|
|
|
|
with:
|
|
|
|
path: wolfssl
|
|
|
|
configure: --enable-curl
|
|
|
|
install: true
|
|
|
|
|
2023-08-28 11:55:42 +02:00
|
|
|
- name: Build and test curl
|
2023-07-21 15:49:09 +02:00
|
|
|
uses: wolfSSL/actions-build-autotools-project@v1
|
2023-07-11 11:27:45 -06:00
|
|
|
with:
|
|
|
|
repository: curl/curl
|
|
|
|
path: curl
|
2023-07-21 15:49:09 +02:00
|
|
|
configure: --with-wolfssl=$GITHUB_WORKSPACE/build-dir
|
|
|
|
check: true
|