parent
2e67d451b1
commit
472369f589
57
.github/workflows/torture.yml
vendored
Normal file
57
.github/workflows/torture.yml
vendored
Normal file
@ -0,0 +1,57 @@
|
||||
# Copyright (C) 2000 - 2022 Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
#
|
||||
# SPDX-License-Identifier: curl
|
||||
|
||||
name: Linux
|
||||
|
||||
on:
|
||||
# Trigger the workflow on push or pull requests, but only for the
|
||||
# master branch
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- '*/ci'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
autotools:
|
||||
name: ${{ matrix.build.name }}
|
||||
runs-on: 'ubuntu-latest'
|
||||
timeout-minutes: 90
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
build:
|
||||
- name: torture
|
||||
install:
|
||||
configure:
|
||||
tflags: -n -t --shallow=25 !FTP
|
||||
- name: torture-ftp
|
||||
install:
|
||||
configure:
|
||||
tflags: -n -t --shallow=20 FTP
|
||||
|
||||
steps:
|
||||
- run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libtool autoconf automake pkg-config stunnel4 libpsl-dev libbrotli-dev libzstd-dev zlib1g-dev libnghttp2-dev libssh2-1-dev libc-ares-dev ${{ matrix.build.install }}
|
||||
sudo python3 -m pip install impacket
|
||||
name: 'install prereqs and impacket'
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- run: autoreconf -fi
|
||||
name: 'autoreconf'
|
||||
|
||||
- run: ./configure --enable-warnings --enable-werror ${{ matrix.build.configure }} --with-openssl --enable-debug --enable-ares
|
||||
name: 'configure'
|
||||
|
||||
- run: make V=1
|
||||
name: 'make'
|
||||
|
||||
- run: make V=1 test-torture
|
||||
name: 'test'
|
||||
env:
|
||||
TFLAGS: "${{ matrix.build.tflags }}"
|
||||
@ -221,22 +221,6 @@
|
||||
-DCURL_ZSTD=1
|
||||
PKG_CONFIG_PATH: "{{ ansible_user_dir }}/ngbuild/lib/pkgconfig"
|
||||
|
||||
- job:
|
||||
name: curl-torture
|
||||
parent: curl-base
|
||||
vars:
|
||||
curl_apt_packages:
|
||||
- lcov
|
||||
- libpsl-dev
|
||||
- libssl-dev
|
||||
- libbrotli-dev
|
||||
- libzstd-dev
|
||||
- libssh2-1-dev
|
||||
curl_env:
|
||||
CC: gcc-8
|
||||
CXX: g++-8
|
||||
T: torture
|
||||
|
||||
- job:
|
||||
name: curl-fuzzer
|
||||
parent: curl-base
|
||||
@ -309,7 +293,6 @@
|
||||
- curl-debug-clang-with-gnutls
|
||||
- curl-cmake-boringssl-quiche
|
||||
- curl-cmake-ngtcp2
|
||||
- curl-torture
|
||||
- curl-fuzzer
|
||||
- curl-tidy
|
||||
- curl-debug-clang-with-openssl-dl-ubsan
|
||||
|
||||
Loading…
Reference in New Issue
Block a user