diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 474dfc615..1a7df8952 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,10 +28,10 @@ jobs: # Targets that match the OS of the runner. - target: x86_64-unknown-linux-gnu os: ubuntu-22.04 - - target: x86_64-apple-darwin - os: macos-13 - target: x86_64-pc-windows-msvc os: windows-latest + - target: aarch64-apple-darwin + os: macos-latest # Targets using cross-compilation (upload-rust-binary-action # detects that they need cross). @@ -39,10 +39,10 @@ jobs: os: ubuntu-22.04 - target: aarch64-unknown-linux-gnu os: ubuntu-22.04 - - target: aarch64-apple-darwin - os: macos-latest - target: aarch64-pc-windows-msvc os: windows-latest + - target: x86_64-apple-darwin + os: macos-latest runs-on: ${{ matrix.os }} steps: # v4.2.2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c8e5e6b5a..497926abe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,8 +12,6 @@ jobs: job: # Operating systems available: https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories - { target: x86_64-unknown-linux-gnu, os: ubuntu-22.04 } - # mac-latest (currently mac-14) is an ARM device, so use macos-13 to get Intel. - - { target: x86_64-apple-darwin, os: macos-13 } - { target: x86_64-pc-windows-msvc, os: windows-latest } - { target: aarch64-pc-windows-msvc, os: windows-11-arm } @@ -21,6 +19,7 @@ jobs: # mac-14 is an M1 ARM device. - { target: aarch64-apple-darwin, os: macos-14 } + - { target: x86_64-apple-darwin, os: macos-14, use-cross: true } - { target: x86_64-unknown-linux-musl, os: ubuntu-22.04, use-cross: true } env: