Skip to content

Commit

Permalink
Merge pull request eclipse-iceoryx#2257 from elBoberido/iox-2011-move…
Browse files Browse the repository at this point in the history
…-freebsd-back-to-github-actions

iox-eclipse-iceoryx#2011 Move FreeBSD back to GitHub actions
  • Loading branch information
elBoberido authored Apr 15, 2024
2 parents 688c95f + 8abf97d commit ad027aa
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cirrus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ arch_linux_x64_test_task:
#

freebsd_x64_build_task:
only_if: false # deactivated for now due to limited compute credits
depends_on: preflight_check
freebsd_instance:
image_family: freebsd-14-0
Expand All @@ -237,6 +238,7 @@ freebsd_x64_build_task:
<<: *IOX_PREPARE_TEST_BINARIES_FOR_CACHE

freebsd_x64_test_task:
only_if: false # deactivated for now due to limited compute credits
depends_on: freebsd_x64_build
freebsd_instance:
image_family: freebsd-14-0
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,25 @@ jobs:
- run: ./tools/ci/build-test-windows.ps1 -toolchain MinGW
shell: powershell

# uses ubuntu to run freebsd in a virtualbox
build-test-unix-with-freebsd:
# prevent stuck jobs consuming runners for 6 hours
timeout-minutes: 60
needs: pre-flight-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Unix (FreeBSD) test
id: Test
uses: vmactions/freebsd-vm@v1
with:
release: "14.0"
copyback: false
prepare: pkg install -y cmake git ncurses bash wget bison
run: |
git config --global --add safe.directory /home/runner/work/iceoryx/iceoryx
./tools/ci/build-test-freebsd.sh
run-integration-test:
# prevent stuck jobs consuming runners for 6 hours
timeout-minutes: 60
Expand Down Expand Up @@ -189,6 +208,7 @@ jobs:
name: iceoryx
flags: unittests
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit ad027aa

Please sign in to comment.