Skip to content

Commit

Permalink
bsd.yml: Switch hypervisor from macOS/xhyve to Linux/qemu.
Browse files Browse the repository at this point in the history
The suite started failing with "Error: The process '/usr/bin/sudo'
failed with exit code null".  Just switch to qemu, which also finishes
earlier than the last few good xhyve runs (80s vs. 135s).  While I read
in https://github.com/cross-platform-actions/action#under-the-hood that
this won't work,
https://github.com/cross-platform-actions/action#runners says it will.
Experiments agree.
  • Loading branch information
nmisch committed May 19, 2024
1 parent 1f96203 commit b2ed7a2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ permissions: {}

jobs:
BSDs:
# Run BSDs using macOS nested virtualization:
# https://github.com/cross-platform-actions/action#under-the-hood
runs-on: macOS-latest
# Run BSDs using virtualization
runs-on: ubuntu-latest

strategy:
fail-fast: false
Expand All @@ -39,7 +38,7 @@ jobs:
submodules: recursive

- name: Test on ${{ matrix.os.name }}
uses: cross-platform-actions/action@a4a7327f8112bc2513a07701786a0c3c1193583a # v0.23.0
uses: cross-platform-actions/action@b2e15da1e667187766fff4945d20b98ac7055576 # v0.24.0
with:
operating_system: ${{ matrix.os.name }}
version: ${{ matrix.os.version }}
Expand Down

0 comments on commit b2ed7a2

Please sign in to comment.