File tree Expand file tree Collapse file tree 4 files changed +29
-8
lines changed Expand file tree Collapse file tree 4 files changed +29
-8
lines changed Original file line number Diff line number Diff line change @@ -533,3 +533,24 @@ jobs:
533533 steps :
534534 - name : Mandatory Checks Sync
535535 run : echo "Sync point for collecting mandatory checks that need to pass for Pull-Requests"
536+
537+ freebsd :
538+ runs-on : ubuntu-latest
539+ timeout-minutes : 60
540+ strategy :
541+ matrix :
542+ freebsd_version : [ "15.0" ]
543+ toolchain : [ "stable"]
544+ mode : ["debug"]
545+ steps :
546+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4
547+ -
uses :
vmactions/freebsd-vm@b9c3f24600acdef618ef1c9e2d3c6eeda4dce712 # ratchet:vmactions/[email protected] 548+ with :
549+ release : ${{ matrix.freebsd_version }}
550+ mem : 16384
551+ copyback : false
552+ prepare : pkg install -y cmake curl gcc git llvm
553+ run : |
554+ git config --global --add safe.directory /home/runner/work/iceoryx2/iceoryx2
555+ ./internal/scripts/ci_prepare_freebsd.sh
556+ ./internal/scripts/ci_build_and_test_freebsd.sh --toolchain ${{ matrix.toolchain }} --mode ${{ matrix.mode }}
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ jobs:
111111 timeout-minutes : 60
112112 strategy :
113113 matrix :
114- freebsd_version : [ "15.0 " ]
114+ freebsd_version : [ "14.3 " ]
115115 toolchain : [ "stable"]
116116 mode : ["debug"]
117117 steps :
@@ -121,8 +121,11 @@ jobs:
121121 release : ${{ matrix.freebsd_version }}
122122 mem : 16384
123123 copyback : false
124+ sync : nfs
124125 prepare : pkg install -y cmake curl gcc git llvm
125126 run : |
126- git config --global --add safe.directory /home/runner/work/iceoryx2/iceoryx2
127+ cp -r ${{ github.workspace }} $HOME/workspace
128+ cd $HOME/workspace
129+ git config --global --add safe.directory $HOME/workspace
127130 ./internal/scripts/ci_prepare_freebsd.sh
128131 ./internal/scripts/ci_build_and_test_freebsd.sh --toolchain ${{ matrix.toolchain }} --mode ${{ matrix.mode }}
Original file line number Diff line number Diff line change 7474export PATH=$PATH :$HOME /.cargo/bin
7575rustup default $RUST_TOOLCHAIN
7676# export RUSTFLAGS="-C debug-assertions"
77- cargo fmt --all -- --check
78- cargo clippy --workspace --exclude iceoryx2-tunnels-zenoh -- -D warnings
7977
8078echo " ###################"
8179echo " # Run cargo build #"
8280echo " ###################"
8381
84- cargo build --workspace --exclude iceoryx2-tunnels -zenoh --all-targets $RUST_BUILD_TYPE_FLAG
82+ cargo build --workspace --exclude iceoryx2-tunnel -zenoh --all-targets $RUST_BUILD_TYPE_FLAG
8583
8684echo " ######################"
8785echo " # Run cargo nextest #"
8886echo " #####################"
8987
90- cargo nextest run --workspace --exclude iceoryx2-tunnels -zenoh --all-targets --no-fail-fast $RUST_BUILD_TYPE_FLAG
88+ cargo nextest run --workspace --exclude iceoryx2-tunnel -zenoh --all-targets --no-fail-fast $RUST_BUILD_TYPE_FLAG
9189
9290echo " ###########################################################"
9391echo " # Clean the target directory to reduce memory usage on VM #"
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ export ASSUME_ALWAYS_YES=yes
1818pkg install python3 bash
1919curl --proto ' =https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --no-modify-path
2020export PATH=$PATH :$HOME /.cargo/bin
21- rustup toolchain add beta nightly 1.83.0 stable
22- rustup component add clippy rustfmt
21+ rustup toolchain add stable
2322rustup default stable
2423cargo install cargo-nextest --locked
2524pw useradd testuser1
You can’t perform that action at this time.
0 commit comments