curl/.github/workflows/event-based.yml

43 lines
1.0 KiB
YAML
Raw Normal View History

name: event-based
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: 60
strategy:
fail-fast: false
matrix:
build:
- name: event tests
install:
configure: --enable-debug --disable-shared --disable-threaded-resolver --enable-werror --with-libssh --with-openssl
tflags: -n -e '!TLS-SRP'
steps:
- run: |
sudo apt-get install libtool autoconf automake pkg-config stunnel4 python3-pip libpsl-dev libbrotli-dev libzstd-dev libssh-dev
sudo pip3 install impacket
name: install prereqs and impacket
- uses: actions/checkout@v2
- run: autoreconf -fi && ./configure ${{ matrix.build.configure }} && make V=1
name: 'configure and build'
- run: make V=1 test-ci
name: 'test'
env:
TFLAGS: "${{ matrix.build.tflags }}"