os/.forgejo/workflows/build.yaml
Mathieu Strypsteen a77f8f6294
All checks were successful
Build / build (push) Successful in 2m38s
Add cargo-deny to CI
2024-12-12 20:18:20 +01:00

20 lines
599 B
YAML

name: Build
on: [push]
jobs:
build:
runs-on: debian-12
steps:
- name: Install dependencies
run: apt-get update && apt-get install -y clang gcc-multilib llvm mtools parted udev
- name: Install Rustup
run: curl https://sh.rustup.rs | sh -s -- -y
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Build
run: . ~/.bashrc && ./build.sh
- name: Install cargo-deny
run: . ~/.bashrc && cargo install cargo-deny
- name: Run cargo-deny
run: . ~/.bashrc && cargo deny check