summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-22 14:26:24 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-22 14:26:24 -0400
commit1ab3bd78be97357ed1470ca7beee178260d3f657 (patch)
tree59ab4a36fa372ede6ad7ea4da3f7db224d04cc91
parent050b2eeed4c773706ee8d48a76797d78cc500602 (diff)
downloadbfs-1ab3bd78be97357ed1470ca7beee178260d3f657.tar.xz
ci/freebsd: Use cross-platform-actions
-rw-r--r--.github/workflows/ci.yml22
1 files changed, 8 insertions, 14 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3ad924f..bd10df8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -69,27 +69,21 @@ jobs:
- uses: actions/checkout@v4
- name: Run tests
- uses: vmactions/freebsd-vm@v1
+ uses: cross-platform-actions/action@v0.24.0
with:
- release: "14.0"
- usesh: true
- copyback: false
+ operating_system: freebsd
+ version: "14.0"
+ sync_files: runner-to-vm
- prepare: |
- pkg install -y \
+ run: |
+ sudo pkg install -y \
bash \
expect \
oniguruma \
pkgconf \
- sudo \
tcl-wrapper
- pw useradd -n action -m -G wheel -s /usr/local/bin/bash
- echo "%wheel ALL=(ALL) NOPASSWD: ALL" >>/usr/local/etc/sudoers
- mount -t fdescfs none /dev/fd
-
- run: |
- chown -R action:action .
- sudo -u action make -j$(nproc) distcheck
+ sudo mount -t fdescfs none /dev/fd
+ make -j$(nproc) distcheck
openbsd:
name: OpenBSD