Skip to content

Commit

Permalink
💚 调整 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Dec 11, 2023
1 parent 30a97e9 commit e973ac4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e973ac4

Please sign in to comment.