Skip to content

Merge pull request #36 from flokli/edid-as-ids #89

Merge pull request #36 from flokli/edid-as-ids

Merge pull request #36 from flokli/edid-as-ids #89

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
build:
strategy:
matrix:
spec:
- { os: ubuntu-22.04, platform: linux, arch: x64 }
- { os: ubuntu-22.04, platform: linux, arch: aarch64 }
runs-on: ubuntu-22.04
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v27
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix-build nix -A fossbeamer
# These are cross-builds if executed on x64, native builds on aarch64
# Disabled for now as they get rate-limited by github, and builds without any cache take too long.
# - run: nix-build nix -A machine.toplevel
# - run: nix-build nix -A machine.sdImage
checks:
runs-on: ubuntu-22.04
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v27
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Install env
run: nix-env -iA env -f nix/
- name: Check treefmt
run: treefmt --fail-on-change
- name: Check crate2nix
run: crate2nix generate --all-features && treefmt Cargo.nix && git diff --exit-code Cargo.nix