File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push]
4+
5+ env :
6+ CARGO_TERM_COLOR : always
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ include :
15+ - freebsd_version : " 15.0"
16+ rust_version : " nightly-2025-05-18"
17+ name : FreeBSD ${{ matrix.freebsd_version }}
18+ steps :
19+ - uses : actions/checkout@v4
20+ - name : Start FreeBSD VM
21+ uses : vmactions/freebsd-vm@v1
22+ with :
23+ release : ${{ matrix.freebsd_version }}
24+ usesh : true
25+ - name : Setup Environment
26+ shell : freebsd {0}
27+ run : |
28+ pkg install -y git
29+ git clone --depth=1 --branch stable/15 https://github.com/freebsd/freebsd-src.git $HOME/freebsd-src
30+ fetch https://sh.rustup.rs -o rustup.sh
31+ sh rustup.sh -y --profile=minimal --default-toolchain ${{ matrix.rust_version }}-x86_64-unknown-freebsd
32+ . "$HOME/.cargo/env"
33+ pkg install -y cargo-make llvm19
34+ rustup component add rust-src
35+ - name : Build Drivers
36+ shell : freebsd {0}
37+ run : |
38+ . "$HOME/.cargo/env"
39+ export SYSDIR="$HOME/freebsd-src/sys"
40+ cd drivers/hello
41+ cargo make build-kmod
42+ make clean && cargo clean
43+ cd ../char
44+ cargo make build-kmod
45+ make clean && cargo clean
You can’t perform that action at this time.
0 commit comments