Merge pull request #3182 from omove/macos-runner-test

Faster macOS Github Actions
This commit is contained in:
mr. m
2024-11-24 18:38:29 +01:00
committed by GitHub

View File

@@ -15,15 +15,11 @@ jobs:
mac-build:
name: Build macOS - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
runs-on: macos-14
strategy:
fail-fast: false
matrix:
include:
- arch: aarch64
os: macos-14
- arch: x86_64
os: macos-13
arch: [x86_64, aarch64]
steps:
- name: Install Node.js
@@ -77,6 +73,12 @@ jobs:
brew install watchman
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.79
source $HOME/.cargo/env
if test "${{ matrix.arch }}" = "aarch64"; then
rustup target add aarch64-apple-darwin
else
rustup target add x86_64-apple-darwin
fi
- name: Force usage fo gnu-tar
run: |