diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-22 14:41:20 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-22 15:02:18 -0400 |
commit | 19a640cc3b274ad58194f156a7a7aa0f96c7179e (patch) | |
tree | db5832c4cf2300c3288360223c994b71159969cb | |
parent | beff30d84fd89c52754091055868efb868356e5d (diff) | |
download | bfs-19a640cc3b274ad58194f156a7a7aa0f96c7179e.tar.xz |
ci/netbsd: Use cross-platform-actions
-rw-r--r-- | .github/workflows/ci.yml | 24 |
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 |