v2.1.0 #3
1 changed files with 22 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
name: Demo
|
||||
name: Basic Cargo Checks
|
||||
run-name: ${{ github.actor }} is testing
|
||||
on: [push]
|
||||
jobs:
|
||||
docker-build:
|
||||
docker-check:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Grab misc. dependencies
|
||||
|
@ -21,3 +21,23 @@ jobs:
|
|||
uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
docker-build:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Grab misc. dependencies
|
||||
run: |
|
||||
apt update && apt install -y librust-libudev-sys-dev build-essential
|
||||
- name: Check out repository code
|
||||
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
|
||||
uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --release
|
||||
|
|
Loading…
Add table
Reference in a new issue