Skip to content

Commit f74eb7a

Browse files
committed
Convert the FreeBSD tests to Github Workflows
Because Cirrus Labs is shutting down soon. Fixes #649
1 parent b8d727f commit f74eb7a

2 files changed

Lines changed: 28 additions & 27 deletions

File tree

.cirrus.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,31 @@ jobs:
156156
locked: true
157157
- name: check-external-types
158158
run: cargo check-external-types --all-features
159+
vmactions:
160+
strategy:
161+
fail-fast: false
162+
matrix:
163+
include:
164+
- target: x86_64-unknown-freebsd
165+
arch: x86_64
166+
- target: i686-unknown-freebsd
167+
arch: i686
168+
name: FreeBSD/${{ matrix.arch }}
169+
runs-on: ubuntu-latest
170+
steps:
171+
- uses: actions/checkout@v6
172+
- name: Test on FreeBSD
173+
uses: vmactions/freebsd-vm@v1
174+
with:
175+
release: "14.4"
176+
usesh: true
177+
prepare: |
178+
pkg install -y curl cargo-hack
179+
kldload cc_newreno # For the tcp_congestion test
180+
fetch https://sh.rustup.rs -o rustup.sh
181+
sh rustup.sh -y --profile=minimal
182+
. $HOME/.cargo/env
183+
rustup target add ${{ matrix.target }}
184+
run: |
185+
. $HOME/.cargo/env
186+
cargo hack test --target ${{ matrix.target }} --feature-powerset

0 commit comments

Comments
 (0)