mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-06 08:32:51 +08:00
💚 调整 CI
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -17,17 +17,17 @@ jobs:
|
||||
target: "windows"
|
||||
- platform: macos-latest
|
||||
args: "--target x86_64-apple-darwin"
|
||||
target: "macos intel"
|
||||
target: "macos-intel"
|
||||
- platform: macos-latest
|
||||
args: "--target aarch64-apple-darwin"
|
||||
target: "macos arm"
|
||||
target: "macos-arm"
|
||||
runs-on: ${{ matrix.settings.platform }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Add Rust targets(macOS)
|
||||
if: matrix.settings.target == "macos arm"
|
||||
if: matrix.settings.target == 'macos-arm'
|
||||
run: rustup target add aarch64-apple-darwin
|
||||
|
||||
- name: Rust setup
|
||||
|
||||
Reference in New Issue
Block a user