Skip to content

Commit

Permalink
ci: update macOS version
Browse files Browse the repository at this point in the history
macos-12 is deprecated, use macos-14 which is the current latest
GitHub version.

Moving to macos-14 means the action is running on Apple Silicon now.

Homebrew now packages LLD in a separate package, so we have to install
that as well.

Signed-off-by: Ivan-Velickovic <[email protected]>
  • Loading branch information
Ivan-Velickovic committed Oct 9, 2024
1 parent 0e81969 commit 8dc1ebd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,23 +58,23 @@ jobs:
with:
# @ivanv: this needs to be fixed for the restructure
path: build_*/loader.img
build_macos_x86_64:
name: Build and run examples (macOS x86-64)
runs-on: macos-12
build_macos_arm64:
name: Build and run examples (macOS ARM64)
runs-on: macos-14
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Download Microkit SDK
run: |
wget https://github.com/seL4/microkit/releases/download/1.4.1/microkit-sdk-1.4.1-macos-x86-64.tar.gz
tar xf microkit-sdk-1.4.1-macos-x86-64.tar.gz
wget https://github.com/seL4/microkit/releases/download/1.4.1/microkit-sdk-1.4.1-macos-aarch64.tar.gz
tar xf microkit-sdk-1.4.1-macos-aarch64.tar.gz
- name: Install dependencies (via Homebrew)
# 'expect' is only a dependency for CI testing
run: |
brew install llvm qemu dtc make dosfstools expect
echo "/usr/local/opt/llvm/bin:$PATH" >> $GITHUB_PATH
brew install llvm lld qemu dtc make dosfstools expect
echo "/opt/llvm/bin:$PATH" >> $GITHUB_PATH
- name: Install Zig
uses: mlugg/[email protected]
with:
Expand Down

0 comments on commit 8dc1ebd

Please sign in to comment.