summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml24
1 files changed, 8 insertions, 16 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b977580..3890bb0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -119,30 +119,22 @@ jobs:
- uses: actions/checkout@v4
- name: Run tests
- uses: vmactions/netbsd-vm@v1
+ uses: cross-platform-actions/action@v0.24.0
with:
- release: "10.0"
- usesh: true
- copyback: false
+ operating_system: netbsd
+ version: "10.0"
+ sync_files: runner-to-vm
- prepare: |
+ run: |
PATH="/sbin:/usr/sbin:$PATH"
- pkg_add \
+ sudo pkgin -y install \
bash \
- clang \
oniguruma \
pkgconf \
- sudo \
tcl-expect
- useradd -m -G wheel -g =uid action
- echo "%wheel ALL=(ALL) NOPASSWD: ALL" >>/usr/pkg/etc/sudoers
-
- run: |
- PATH="/sbin:/usr/sbin:$PATH"
- chown -R action:action .
jobs=$(sysctl -n hw.ncpu)
- sudo -u action make config CC=clang
- sudo -u action make -j$jobs check TEST_FLAGS="--sudo --verbose=skipped"
+ make -j$jobs config
+ make -j$jobs check TEST_FLAGS="--sudo --verbose=skipped"
dragonflybsd:
name: DragonFly BSD