Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Revert "add some nicer colorisation to compress-diskimg.sh (#64)" (… #220

Revert "add some nicer colorisation to compress-diskimg.sh (#64)" (…

Revert "add some nicer colorisation to compress-diskimg.sh (#64)" (… #220

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
jobs:
check:
runs-on: ${{ matrix.os }}
name: Check
strategy:
matrix:
include:
# Ubuntu
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
rust: nightly
- os: ubuntu-latest
target: i686-unknown-linux-gnu
rust: nightly
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
rust: nightly
steps:
- uses: actions/checkout@v2
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
components: rustfmt, clippy
- name: Add nightly-x86_64
run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
- name: Build
run: cargo build --verbose
clippy:
runs-on: ${{ matrix.os }}
name: Clippy
strategy:
matrix:
include:
# Ubuntu
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
rust: nightly
steps:
- uses: actions/checkout@v2
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
components: rustfmt, clippy
- name: Add nightly-x86_64
run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
- name: Clippy
run: cargo clippy --verbose