activate TLS-Anvil CI #38
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
# (C) 2023 Jack Lloyd | |
# (C) 2023 Fabian Albert, Rohde & Schwarz Cybersecurity | |
# | |
# Botan is released under the Simplified BSD License (see license.txt) | |
name: nightly | |
permissions: | |
contents: read | |
# implicitly all other scopes not listed become none | |
on: | |
push: | |
branches: [ ci-test/tls-anvil-nightly-fix ] | |
jobs: | |
tls_anvil_server_test: | |
name: "TLS-Anvil (server)" | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Fetch Botan Repository | |
uses: actions/checkout@v3 | |
- name: Setup Build Agent | |
uses: ./.github/actions/setup-build-agent | |
with: | |
target: tlsanvil | |
cache-key: linux-x86_64-tlsanvil | |
- name: Build and Test Botan Server with TLS-Anvil | |
run: > | |
python3 ./src/scripts/ci/ci_tlsanvil_test.py | |
--botan-dir . | |
--test-target server | |
--parallel $(nproc) | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: tls-anvil-server-test-results | |
path: | | |
./TestSuiteResults/ | |
./logs/ | |
- name: Check TLS-Anvil Test Results | |
run: python3 ./src/scripts/ci/ci_tlsanvil_check.py --verbose ./TestSuiteResults |