From 3b81dd55de4af4a15d74af909da13c4e379d2958 Mon Sep 17 00:00:00 2001 From: Justin Smith Date: Tue, 20 Aug 2024 10:24:20 -0400 Subject: [PATCH] Add CI for FreeBSD --- .github/workflows/actions-ci.yml | 24 ++++++++++++++++++- .github/workflows/cross-test.yml | 1 + ...{run_openbsd_tests.sh => run_bsd_tests.sh} | 0 3 files changed, 24 insertions(+), 1 deletion(-) rename tests/ci/{run_openbsd_tests.sh => run_bsd_tests.sh} (100%) diff --git a/.github/workflows/actions-ci.yml b/.github/workflows/actions-ci.yml index dfc06865276..21d5e2a8ef0 100644 --- a/.github/workflows/actions-ci.yml +++ b/.github/workflows/actions-ci.yml @@ -445,7 +445,7 @@ jobs: cd $(pwd) export PATH="${HOME}/bin:${PATH}" env - tests/ci/run_openbsd_tests.sh ${{ matrix.args }} + tests/ci/run_bsd_tests.sh ${{ matrix.args }} EOF gcc-4_8: needs: [sanity-test-run] @@ -490,3 +490,25 @@ jobs: # echo ${env:SDEROOT} # .\tests\ci\run_windows_tests.bat "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 true # + freebsd-13: + if: github.repository_owner == 'aws' + name: FreeBSD 13 test + runs-on: ubuntu-latest + env: + AWS_LC_SSL_TEST_RUNNER_PEEK_ROUNDS: 5 + AWS_LC_GO_TEST_TIMEOUT: 90m + steps: + - uses: actions/checkout@v4 + with: + submodules: 'recursive' + - name: Prepare VM + uses: vmactions/freebsd-vm@v1 + with: + envs: 'AWS_LC_SSL_TEST_RUNNER_PEEK_ROUNDS AWS_LC_GO_TEST_TIMEOUT' + release: 13.2 + usesh: true + copyback: false + prepare: | + pkg install -y git gmake bash cmake-core curl go perl5 ninja + run: | + tests/ci/run_bsd_tests.sh diff --git a/.github/workflows/cross-test.yml b/.github/workflows/cross-test.yml index 097e9ae5f6a..ea282128d48 100644 --- a/.github/workflows/cross-test.yml +++ b/.github/workflows/cross-test.yml @@ -109,3 +109,4 @@ jobs: env: CFLAGS: "-Wno-string-compare" run: tests/ci/run_cross_tests.sh s390x s390x-ibm-linux-gnu "-DCMAKE_BUILD_TYPE=Release" + diff --git a/tests/ci/run_openbsd_tests.sh b/tests/ci/run_bsd_tests.sh similarity index 100% rename from tests/ci/run_openbsd_tests.sh rename to tests/ci/run_bsd_tests.sh