Merge remote-tracking branch 'origin/1.3' into merge_13_14_25 #799
Workflow file for this run
This file contains hidden or 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
| name: Linux Build & Test with OpenSSL3.0 | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - build_name: "Encryption (OpenSSL3.0) Build & Unit Tests (gcc)" | |
| cmd_deps: sudo apt-get install -y -qq openssl | |
| cmd_action: unit_tests_encryption OPENSSL | |
| name: ${{matrix.build_name}} | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/marwinglaser/ci:ubuntu-22.04 | |
| options: --privileged | |
| steps: | |
| - name: Work around disabled ipv6 on actions container networks | |
| run: | | |
| IPV6="$(cat /proc/sys/net/ipv6/conf/eth0/disable_ipv6)" | |
| echo "Current IPv6 status on eth0: $IPV6" | |
| [ "$IPV6" = "1" ] || exit | |
| echo 0 | sudo tee /proc/sys/net/ipv6/conf/eth0/disable_ipv6 > /dev/null | |
| IPV6="$(cat /proc/sys/net/ipv6/conf/eth0/disable_ipv6)" | |
| echo "New IPv6 status on eth0: $IPV6" | |
| [ "$IPV6" = "0" ] || { echo "Failed to enable IPv6 on eth0"; exit 1; } | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Install Dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -qq cmake pkg-config libcap2-bin libssl-dev python3-sphinx graphviz check | |
| ${{ matrix.cmd_deps }} | |
| - name: ${{matrix.build_name}} | |
| shell: bash | |
| run: source tools/ci.sh && ${{matrix.cmd_action}} | |
| env: | |
| ETHERNET_INTERFACE: eth0 | |