Skip to content

Commit 24ead17

Browse files
committed
Build FreeBSD on GH Actions in VM
Signed-off-by: Daniel Schaefer <[email protected]>
1 parent f872ddf commit 24ead17

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@ on:
33
push:
44

55
jobs:
6+
build-freebsd:
7+
permissions:
8+
contents: read
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
12+
- name: Build
13+
id: test
14+
uses: vmactions/freebsd-vm@v1
15+
with:
16+
usesh: true
17+
mem: 8192
18+
sync: rsync
19+
prepare: |
20+
pkg install -y rust hidapi pkgconf
21+
run: |
22+
cargo build -p framework_lib
23+
cargo build -p framework_tool
24+
625
freebsd-cross-build:
726
name: Cross-Build for FreeBSD
827
runs-on: 'ubuntu-24.04'

0 commit comments

Comments
 (0)