Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gha: move the event-based test over from Zuul
Switched libssh2 to libssh Closes #8490
- Loading branch information
Showing
3 changed files
with
42 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
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 }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters