Skip to content

Commit 8abf97d

Browse files
committed
iox-#2011 Move FreeBSD back to github CI
1 parent 688c95f commit 8abf97d

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.cirrus.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ arch_linux_x64_test_task:
219219
#
220220

221221
freebsd_x64_build_task:
222+
only_if: false # deactivated for now due to limited compute credits
222223
depends_on: preflight_check
223224
freebsd_instance:
224225
image_family: freebsd-14-0
@@ -237,6 +238,7 @@ freebsd_x64_build_task:
237238
<<: *IOX_PREPARE_TEST_BINARIES_FOR_CACHE
238239

239240
freebsd_x64_test_task:
241+
only_if: false # deactivated for now due to limited compute credits
240242
depends_on: freebsd_x64_build
241243
freebsd_instance:
242244
image_family: freebsd-14-0

.github/workflows/build-test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,25 @@ jobs:
8989
- run: ./tools/ci/build-test-windows.ps1 -toolchain MinGW
9090
shell: powershell
9191

92+
# uses ubuntu to run freebsd in a virtualbox
93+
build-test-unix-with-freebsd:
94+
# prevent stuck jobs consuming runners for 6 hours
95+
timeout-minutes: 60
96+
needs: pre-flight-check
97+
runs-on: ubuntu-latest
98+
steps:
99+
- uses: actions/checkout@v4
100+
- name: Unix (FreeBSD) test
101+
id: Test
102+
uses: vmactions/freebsd-vm@v1
103+
with:
104+
release: "14.0"
105+
copyback: false
106+
prepare: pkg install -y cmake git ncurses bash wget bison
107+
run: |
108+
git config --global --add safe.directory /home/runner/work/iceoryx/iceoryx
109+
./tools/ci/build-test-freebsd.sh
110+
92111
run-integration-test:
93112
# prevent stuck jobs consuming runners for 6 hours
94113
timeout-minutes: 60
@@ -189,6 +208,7 @@ jobs:
189208
name: iceoryx
190209
flags: unittests
191210
fail_ci_if_error: false
211+
token: ${{ secrets.CODECOV_TOKEN }}
192212

193213
- name: Upload coverage to Codecov
194214
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)