take advantage of new runners
This commit is contained in:
parent
a2701de3a0
commit
e666931d1a
1 changed files with 2 additions and 16 deletions
|
@ -3,39 +3,25 @@ run-name: ${{ github.actor }} is testing
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
docker-check:
|
docker-check:
|
||||||
runs-on: docker
|
runs-on: rust
|
||||||
steps:
|
steps:
|
||||||
- name: Grab misc. dependencies
|
- name: Grab misc. dependencies
|
||||||
run: |
|
run: |
|
||||||
apt update && apt install -y librust-libudev-sys-dev build-essential
|
apt update && apt install -y librust-libudev-sys-dev build-essential
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Grab Rust toolchain
|
|
||||||
uses: https://github.com/actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
target: aarch64-unknown-linux-gnu
|
|
||||||
override: true
|
|
||||||
- name: Run check
|
- name: Run check
|
||||||
uses: https://github.com/actions-rs/cargo@v1
|
uses: https://github.com/actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
docker-build:
|
docker-build:
|
||||||
runs-on: docker
|
runs-on: rust
|
||||||
steps:
|
steps:
|
||||||
- name: Grab misc. dependencies
|
- name: Grab misc. dependencies
|
||||||
run: |
|
run: |
|
||||||
apt update && apt install -y librust-libudev-sys-dev build-essential
|
apt update && apt install -y librust-libudev-sys-dev build-essential
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Grab Rust toolchain
|
|
||||||
uses: https://github.com/actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
target: aarch64-unknown-linux-gnu
|
|
||||||
override: true
|
|
||||||
- name: Run check
|
- name: Run check
|
||||||
uses: https://github.com/actions-rs/cargo@v1
|
uses: https://github.com/actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Reference in a new issue