also install x64 rust in github action

This commit is contained in:
Grant Limberg 2024-05-09 09:35:54 -07:00
parent 0fb9d43998
commit 28cf1423c9
No known key found for this signature in database
GPG Key ID: 8F2F97D3BE8D7735

View File

@ -43,13 +43,20 @@ jobs:
# git config --global core.eol lf # git config --global core.eol lf
- name: checkout - name: checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install Rust - name: Install Rust aarch64
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
target: aarch64-apple-darwin target: aarch64-apple-darwin
override: true override: true
components: rustfmt, clippy components: rustfmt, clippy
- name: Install Rust x86_64
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-apple-darwin
override: true
components: rustfmt, clippy
- name: Set up cargo cache - name: Set up cargo cache
uses: Swatinem/rust-cache@v2 uses: Swatinem/rust-cache@v2
continue-on-error: false continue-on-error: false