2022-04-16 09:55:01 +00:00
|
|
|
name: Build pull request
|
|
|
|
on: pull_request
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_pr:
|
|
|
|
name: Build Pull
|
2022-04-16 10:00:42 +00:00
|
|
|
runs-on: ubuntu-latest
|
2022-04-16 09:55:01 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
target:
|
|
|
|
- nixosConfigurations.nixos-8gb-fsn1-1.config.system.build.toplevel
|
|
|
|
- nixosConfigurations.nutty-noon.config.system.build.toplevel
|
|
|
|
- nixosConfigurations.thinkrac.config.system.build.toplevel
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2022-04-16 16:55:02 +00:00
|
|
|
- uses: cachix/install-nix-action@v17
|
2022-04-16 16:56:47 +00:00
|
|
|
with:
|
|
|
|
extra_nix_config: |
|
|
|
|
substituters = https://f000.backblazeb2.com/file/cache-chir-rs/ https://cache.nixos.org/
|
|
|
|
trusted-public-keys = nixcache:8KKuGz95Pk4UJ5W/Ni+pN+v+LDTkMMFV4yrGmAYgkDg= hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs=
|
|
|
|
- run: nix build --no-link '.#${{ matrix.target }}'
|