Skip to content

Commit 5a132bc

Browse files
asomerssunfishcodextqqczze
authored
Move FreeBSD's CI from Cirrus to Github Workflows (#1611)
* Move FreeBSD's CI from Cirrus to Github Workflows Because Cirrus Labs will soon shut down. Fixes #1610 * Apply suggestion from @xtqqczze Co-authored-by: xtqqczze <45661989+xtqqczze@users.noreply.github.com> --------- Co-authored-by: Dan Gohman <dev@sunfishcode.online> Co-authored-by: xtqqczze <45661989+xtqqczze@users.noreply.github.com>
1 parent c4caf5c commit 5a132bc

File tree

2 files changed

+28
-47
lines changed

2 files changed

+28
-47
lines changed

.cirrus.yml

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

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,34 @@ jobs:
773773
env:
774774
RUST_BACKTRACE: full
775775
776+
test_vmactions:
777+
runs-on: ubuntu-latest
778+
strategy:
779+
fail-fast: false
780+
matrix:
781+
include:
782+
- freebsd_version: "14.4"
783+
- freebsd_version: "15.0"
784+
name: FreeBSD ${{ matrix.freebsd_version }}
785+
steps:
786+
- uses: actions/checkout@v6
787+
- name: Start VM
788+
uses: vmactions/freebsd-vm@v1
789+
with:
790+
release: ${{ matrix.freebsd_version }}
791+
usesh: true
792+
- name: Install dependencies
793+
shell: freebsd {0}
794+
run: |
795+
pkg install -y curl
796+
fetch https://sh.rustup.rs -o rustup.sh
797+
sh rustup.sh -y --profile=minimal
798+
- name: Test
799+
shell: freebsd {0}
800+
run: |
801+
. $HOME/.cargo/env
802+
cargo test --verbose --features=all-apis --workspace -- --nocapture
803+
776804
test_rustix_use_experimental_asm:
777805
name: Test rustix_use_experimental_asm
778806
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)