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