cross build uses nightly rust

This commit is contained in:
zonyitoo
2022-01-28 02:02:32 +08:00
parent 0a8e2316d3
commit 8766191164
2 changed files with 18 additions and 0 deletions

View File

@@ -20,6 +20,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
target: ${{ matrix.target }}
toolchain: nightly
default: true
override: true
- name: Install cross
run: cargo install cross

View File

@@ -32,6 +32,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
target: ${{ matrix.target }}
toolchain: nightly
default: true
override: true
- name: Install cross
run: cargo install cross