diff --git a/.forgejo/workflows/buildcheck.yaml b/.forgejo/workflows/buildcheck.yaml index 1b701bc..dc1b053 100644 --- a/.forgejo/workflows/buildcheck.yaml +++ b/.forgejo/workflows/buildcheck.yaml @@ -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