diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-01-03 12:33:16 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-01-04 14:43:02 -0500 |
commit | fc4b011dc2e5ce95ade6bd6e359cf1500b898204 (patch) | |
tree | f271502ab288459b9dab609ebf97b087e0b8d621 | |
parent | 45fb1d952c3b262278a3b22e9c7d60cca19a5407 (diff) | |
download | bfs-fc4b011dc2e5ce95ade6bd6e359cf1500b898204.tar.xz |
ci: Add a DragonFly BSD job
-rw-r--r-- | .github/workflows/ci.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68b8dcd..5c61dc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,3 +152,34 @@ jobs: chown -R action:action . jobs=$(sysctl -n hw.ncpu) sudo -u action gmake -j$jobs check CC=clang LDFLAGS="-rpath /usr/pkg/lib" JOBS=-j$jobs TEST_FLAGS="--sudo --verbose=skipped" + + dragonflybsd: + name: DragonFly BSD + + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v4 + + - name: Run tests + uses: vmactions/dragonflybsd-vm@v1 + with: + release: "6.4.0" + usesh: true + copyback: false + + prepare: | + pkg install -y \ + bash \ + expect \ + gmake \ + oniguruma \ + 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 + + run: | + chown -R action:action . + jobs=$(sysctl -n hw.ncpu) + sudo -u action gmake -j$jobs check JOBS=-j$jobs TEST_FLAGS="--sudo --verbose=skipped" |