|
@@ -15,11 +15,9 @@ jobs:
|
|
|
rust: [1.8.0, 1.15.0, 1.20.0, 1.26.0, 1.31.0, stable, beta, nightly]
|
|
|
steps:
|
|
|
- name: Rust install
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
+ uses: dtolnay/rust-toolchain@master
|
|
|
with:
|
|
|
toolchain: ${{ matrix.rust }}
|
|
|
- profile: minimal
|
|
|
- override: true
|
|
|
- name: Checkout
|
|
|
uses: actions/checkout@v3
|
|
|
- name: Build
|
|
@@ -39,11 +37,8 @@ jobs:
|
|
|
sudo apt-get update
|
|
|
sudo apt-get install gcc-multilib
|
|
|
- name: Rust install
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
+ uses: dtolnay/rust-toolchain@stable
|
|
|
with:
|
|
|
- toolchain: stable
|
|
|
- profile: minimal
|
|
|
- override: true
|
|
|
target: i586-unknown-linux-gnu
|
|
|
- name: Checkout
|
|
|
uses: actions/checkout@v3
|
|
@@ -59,11 +54,8 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
- name: Rust install
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
+ uses: dtolnay/rust-toolchain@stable
|
|
|
with:
|
|
|
- toolchain: stable
|
|
|
- profile: minimal
|
|
|
- override: true
|
|
|
target: thumbv6m-none-eabi
|
|
|
- name: Checkout
|
|
|
uses: actions/checkout@v3
|
|
@@ -83,11 +75,8 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
- name: Rust install
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
+ uses: dtolnay/rust-toolchain@1.62.0
|
|
|
with:
|
|
|
- toolchain: 1.42.0
|
|
|
- profile: minimal
|
|
|
- override: true
|
|
|
components: rustfmt
|
|
|
- name: Checkout
|
|
|
uses: actions/checkout@v3
|
|
@@ -95,4 +84,4 @@ jobs:
|
|
|
uses: actions-rs/cargo@v1
|
|
|
with:
|
|
|
command: fmt
|
|
|
- args: --all -- --check
|
|
|
+ args: --all --check
|