perf: use macos-latest runner for x86_64-darwin builds

This commit is contained in:
Defelo 2025-07-03 23:17:24 +02:00
commit de2f451cf6
No known key found for this signature in database
GPG key ID: 2A05272471204DD3
2 changed files with 4 additions and 2 deletions

View file

@ -64,7 +64,7 @@ jobs:
runs-on: >- runs-on: >-
${{ (matrix.system == 'x86_64-linux' && 'ubuntu-latest') ${{ (matrix.system == 'x86_64-linux' && 'ubuntu-latest')
|| (matrix.system == 'aarch64-linux' && 'ubuntu-24.04-arm') || (matrix.system == 'aarch64-linux' && 'ubuntu-24.04-arm')
|| (matrix.system == 'x86_64-darwin' && 'macos-13') || (matrix.system == 'x86_64-darwin' && 'macos-latest')
|| (matrix.system == 'aarch64-darwin' && 'macos-latest') }} || (matrix.system == 'aarch64-darwin' && 'macos-latest') }}
steps: steps:
@ -76,6 +76,7 @@ jobs:
uses: cachix/install-nix-action@v31 uses: cachix/install-nix-action@v31
with: with:
extra_nix_config: | extra_nix_config: |
system = ${{ matrix.system }}
sandbox = ${{ sandbox = ${{
(matrix.system == 'x86_64-darwin' && inputs.x86_64-darwin == 'yes_sandbox_false' (matrix.system == 'x86_64-darwin' && inputs.x86_64-darwin == 'yes_sandbox_false'
|| matrix.system == 'aarch64-darwin' && inputs.aarch64-darwin == 'yes_sandbox_false') && 'false' || matrix.system == 'aarch64-darwin' && inputs.aarch64-darwin == 'yes_sandbox_false') && 'false'

View file

@ -86,7 +86,7 @@ jobs:
runs-on: >- runs-on: >-
${{ (matrix.system == 'x86_64-linux' && 'ubuntu-latest') ${{ (matrix.system == 'x86_64-linux' && 'ubuntu-latest')
|| (matrix.system == 'aarch64-linux' && 'ubuntu-24.04-arm') || (matrix.system == 'aarch64-linux' && 'ubuntu-24.04-arm')
|| (matrix.system == 'x86_64-darwin' && 'macos-13') || (matrix.system == 'x86_64-darwin' && 'macos-latest')
|| (matrix.system == 'aarch64-darwin' && 'macos-latest') }} || (matrix.system == 'aarch64-darwin' && 'macos-latest') }}
outputs: outputs:
report_x86_64-linux: ${{ steps.report.outputs.report_x86_64-linux }} report_x86_64-linux: ${{ steps.report.outputs.report_x86_64-linux }}
@ -107,6 +107,7 @@ jobs:
uses: cachix/install-nix-action@v31 uses: cachix/install-nix-action@v31
with: with:
extra_nix_config: | extra_nix_config: |
system = ${{ matrix.system }}
sandbox = ${{ sandbox = ${{
(matrix.system == 'x86_64-darwin' && inputs.x86_64-darwin == 'yes_sandbox_false' (matrix.system == 'x86_64-darwin' && inputs.x86_64-darwin == 'yes_sandbox_false'
|| matrix.system == 'aarch64-darwin' && inputs.aarch64-darwin == 'yes_sandbox_false') && 'false' || matrix.system == 'aarch64-darwin' && inputs.aarch64-darwin == 'yes_sandbox_false') && 'false'