mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-14 15:10:19 +08:00
ci: 固定 macOS runner 版本并确保 Rust target 安装
This commit is contained in:
@@ -34,11 +34,11 @@ jobs:
|
|||||||
use_cross: true
|
use_cross: true
|
||||||
- name: macos-amd64
|
- name: macos-amd64
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
os: macos-latest
|
os: macos-15-intel
|
||||||
use_cross: false
|
use_cross: false
|
||||||
- name: macos-arm64
|
- name: macos-arm64
|
||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
os: macos-latest
|
os: macos-15
|
||||||
use_cross: false
|
use_cross: false
|
||||||
- name: windows-amd64
|
- name: windows-amd64
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
@@ -53,6 +53,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
targets: ${{ matrix.target }}
|
targets: ${{ matrix.target }}
|
||||||
|
|
||||||
|
- name: Ensure Rust target is installed
|
||||||
|
run: rustup target add ${{ matrix.target }}
|
||||||
|
|
||||||
- name: Rust cache
|
- name: Rust cache
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user