From b2ed7a2c0306b6cb84118727580e1b8244329570 Mon Sep 17 00:00:00 2001 From: Noah Misch Date: Sun, 19 May 2024 13:55:37 -0700 Subject: [PATCH] bsd.yml: Switch hypervisor from macOS/xhyve to Linux/qemu. 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. --- .github/workflows/bsd.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bsd.yml b/.github/workflows/bsd.yml index 3e3a159..31b53bb 100644 --- a/.github/workflows/bsd.yml +++ b/.github/workflows/bsd.yml @@ -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 @@ -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 }}