Skip to content

Commit

Permalink
Run macOS tests on latest version that is x86-64
Browse files Browse the repository at this point in the history
GitHub has bumped the runner `macos-latest` to mean `macos-14`. This
runner is only available as ARM64.
  • Loading branch information
jacob-carlborg committed May 4, 2024
1 parent 6121538 commit ca9fe7f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Expand Up @@ -42,15 +42,15 @@ jobs:
# /home is symlinked to /usr/home. pwd will return the resolved path.
work_directory: /usr/home/runner/work/action/action

- name: macos-latest
- name: macos-13
work_directory: /Users/runner/work/action/action

exclude:
- version: '12.2'
architecture: { name: arm64 }

- architecture: { name: arm64 }
host: { name: macos-latest }
host: { name: macos-13 }

include:
- version: '14.0'
Expand All @@ -72,7 +72,7 @@ jobs:
name: x86-64
uname: amd64
host:
name: macos-latest
name: macos-13
work_directory: /Users/runner/work/action/action

steps:
Expand Down Expand Up @@ -116,15 +116,15 @@ jobs:
- name: ubuntu-latest
work_directory: /home/runner/work/action/action

- name: macos-latest
- name: macos-13
work_directory: /Users/runner/work/action/action

exclude:
- version: '6.8'
architecture: { name: arm64 }

- architecture: { name: arm64 }
host: { name: macos-latest }
host: { name: macos-13 }

steps:
- name: Checkout
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
- name: ubuntu-latest
work_directory: /home/runner/work/action/action

- name: macos-latest
- name: macos-13
work_directory: /Users/runner/work/action/action

exclude:
Expand All @@ -179,7 +179,7 @@ jobs:
architecture: { name: arm64 }

- architecture: { name: arm64 }
host: { name: macos-latest }
host: { name: macos-13 }

steps:
- name: Checkout
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
test-hypervisor-config:
timeout-minutes: 5
name: Test configuring hypervisor
runs-on: macos-latest
runs-on: macos-13

steps:
- name: Checkout
Expand All @@ -266,7 +266,7 @@ jobs:
test-custom-vm-image:
timeout-minutes: 5
name: Test custom VM image
runs-on: macos-latest
runs-on: macos-13

steps:
- name: Checkout
Expand Down Expand Up @@ -401,7 +401,7 @@ jobs:
multiple-steps:
timeout-minutes: 5
name: Test running the action multiple times
runs-on: macos-latest
runs-on: macos-13

strategy:
fail-fast: false
Expand Down Expand Up @@ -443,7 +443,7 @@ jobs:
openbsd-qemu-macos:
timeout-minutes: 5
name: Test OpenBSD with QEMU on macOS runner
runs-on: macos-latest
runs-on: macos-13

steps:
- name: Checkout
Expand Down

0 comments on commit ca9fe7f

Please sign in to comment.