From 925f21aca49e914666a15f6fdbdc48912f42e023 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Wed, 15 May 2024 12:22:12 +0200 Subject: [PATCH] Update nightly Signed-off-by: Juliusz Sosinowicz --- .github/workflows/nightly.yml | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3bd384ba..e203bee6 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -14,7 +14,7 @@ jobs: matrix: cc: [gcc, clang, g++, clang++] target: [test, mip_test] - ssl: ["", BUILTIN, MBEDTLS, OPENSSL] + ssl: ["", BUILTIN, MBEDTLS, OPENSSL, WOLFSSL] select: ["-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=0", "-DMG_ENABLE_POLL=1 -DMG_ENABLE_EPOLL=0", "-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=1"] exclude: - ssl: MBEDTLS @@ -25,6 +25,10 @@ jobs: select: "-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=0" - ssl: OPENSSL select: "-DMG_ENABLE_POLL=1 -DMG_ENABLE_EPOLL=0" + - ssl: WOLFSSL + select: "-DMG_ENABLE_POLL=0 -DMG_ENABLE_EPOLL=0" + - ssl: WOLFSSL + select: "-DMG_ENABLE_POLL=1 -DMG_ENABLE_EPOLL=0" name: linux ${{ matrix.target }} CC=${{ matrix.cc }} SSL=${{ matrix.ssl }} TFLAGS=${{ matrix.select }} env: CC: ${{ matrix.cc }} @@ -33,7 +37,7 @@ jobs: steps: - uses: actions/checkout@v4 with: { fetch-depth: 2 } - - run: ./test/setup_ga_network.sh && sudo apt -y update ; sudo apt -y install libmbedtls-dev && make -C test ${{ matrix.target }} + - run: ./test/setup_ga_network.sh && sudo apt -y update ; sudo apt -y install libmbedtls-dev libwolfssl-dev && make -C test ${{ matrix.target }} s390: runs-on: ubuntu-latest strategy: @@ -61,37 +65,39 @@ jobs: strategy: fail-fast: false matrix: - ssl: ["", BUILTIN, MBEDTLS, OPENSSL] + ssl: ["", BUILTIN, MBEDTLS, OPENSSL, WOLFSSL] name: unamalgamated-mg_prefix SSL=${{ matrix.ssl }} steps: - uses: actions/checkout@v4 with: { fetch-depth: 2 } - - run: sudo apt -y update ; sudo apt -y install libmbedtls-dev + - run: sudo apt -y update ; sudo apt -y install libmbedtls-dev libwolfssl-dev - run: make -C test unamalgamated && make -C test mg_prefix valgrind: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - ssl: ["", BUILTIN, MBEDTLS, OPENSSL] + ssl: ["", BUILTIN, MBEDTLS, OPENSSL, WOLFSSL] name: Valgrind SSL=${{ matrix.ssl }} steps: - uses: actions/checkout@v4 with: { fetch-depth: 2 } - - run: sudo apt -y update ; sudo apt -y install libmbedtls-dev valgrind + - run: sudo apt -y update ; sudo apt -y install libmbedtls-dev libwolfssl-dev valgrind - run: make -C test valgrind SSL=${{ matrix.ssl }} macos: runs-on: macos-latest strategy: fail-fast: false matrix: - ssl: ["", BUILTIN, MBEDTLS, OPENSSL] + ssl: ["", BUILTIN, MBEDTLS, OPENSSL, WOLFSSL] select: [-DMG_ENABLE_POLL=0, -DMG_ENABLE_POLL=1] exclude: - ssl: MBEDTLS select: -DMG_ENABLE_POLL=0 - ssl: OPENSSL select: -DMG_ENABLE_POLL=0 + - ssl: WOLFSSL + select: -DMG_ENABLE_POLL=0 name: macos SSL=${{ matrix.ssl }} TFLAGS=${{ matrix.select }} env: SSL: ${{ matrix.ssl }} @@ -100,8 +106,8 @@ jobs: steps: - uses: actions/checkout@v4 with: { fetch-depth: 2 } - - run: brew install jq mbedtls openssl - - run: make -C test test ASAN_OPTIONS= MBEDTLS=$(echo $(brew --cellar)/mbedtls*/*) OPENSSL=$(echo $(brew --cellar)/openssl*/*) + - run: brew install jq mbedtls openssl wolfssl + - run: make -C test test ASAN_OPTIONS= MBEDTLS=$(echo $(brew --cellar)/mbedtls*/*) OPENSSL=$(echo $(brew --cellar)/openssl*/*) WOLFSSL=$(echo $(brew --cellar)/wolfssl*/*) windows: runs-on: ubuntu-latest strategy: @@ -152,7 +158,7 @@ jobs: name: examples ${{ matrix.ssl }} steps: - uses: actions/checkout@v4 - - run: sudo apt -y install libmbedtls-dev libpcap-dev + - run: sudo apt -y install libmbedtls-dev libwolfssl-dev libpcap-dev - run: make -C test examples CFLAGS_EXTRA="${{ matrix.ssl }}" - run: make -C test clean_examples examples_win: @@ -237,7 +243,7 @@ jobs: name: tutorials ${{ matrix.ssl }} steps: - uses: actions/checkout@v4 - - run: sudo apt -y install libmbedtls-dev libpcap-dev + - run: sudo apt -y install libmbedtls-dev libwolfssl-dev libpcap-dev - run: make -C test tutorials CFLAGS_EXTRA="${{ matrix.ssl }}" - run: make -C test clean_tutorials tutorials_win: