Skip to content

Commit

Permalink
github/workflows: use cross-platform-actions for freebsd
Browse files Browse the repository at this point in the history
Since vmactions is basically a bootlooping disaster with no signs of
life from upstream, let's try a different action instead and hope it
works better.
  • Loading branch information
Dudemanguy committed Oct 23, 2023
1 parent 9074436 commit cc19193
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,14 @@ jobs:
freebsd:
runs-on: macos-12 # until https://github.com/actions/runner/issues/385
timeout-minutes: 20 # randomly bootloops https://github.com/vmactions/freebsd-vm/issues/74
steps:
- uses: actions/checkout@v3
- name: Test in FreeBSD VM
uses: vmactions/freebsd-vm@v0
uses: cross-platform-actions/action@v0.19.1
with:
mem: 8192
copyback: false
usesh: true
prepare: |
operating_system: freebsd
version: '13.2'
run: |
# Update to latest release channel
mkdir -p /usr/local/etc/pkg/repos
echo "FreeBSD: { url: "pkg+http://pkg.freebsd.org/\${ABI}/latest" }" \
Expand Down Expand Up @@ -225,7 +223,6 @@ jobs:
uchardet \
v4l_compat \
#
run: |
./ci/build-freebsd.sh
meson test -C build
Expand Down

0 comments on commit cc19193

Please sign in to comment.