Skip to content

ci: add github action nix flake check #7

ci: add github action nix flake check

ci: add github action nix flake check #7

Workflow file for this run

name: Nix Flake Check
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
check:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
# - macos-latest
# - macos-13
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run Nix Flake Check
run: |
nix build .#bootloader-stm32f103-stm32duino
nix build .#bootloader-stm32f401-tinyuf2
nix build .#bootloader-stm32f411-tinyuf2
nix build --print-build-logs .#qmk-minif4_36-rev2021_5-blackpill_f401-rgoulter
nix build .#qmk-pico42-rgoulter-basic
nix build .#qmk-pico42-manna-harbour_miryoku
nix build .#qmk-pico42-vial
nix build .#qmk-pykey40-lite-rgoulter
nix build .#qmk-pykey40-lite-rgoulter-pinkieoutercolumn
nix build .#qmk-pykey40-lite-vial
nix build .#qmk-x_2-rev2021_1-bluepill
nix build .#qmk-x_2-rev2021_1-blackpill_f401