2023-04-22 21:29:50 +00:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: ['master']
|
2023-05-01 22:19:36 +00:00
|
|
|
paths:
|
|
|
|
- 'flake.lock'
|
2023-04-22 21:29:50 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-x86_64-linux:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: cachix/install-nix-action@v20
|
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixpkgs-unstable
|
|
|
|
- uses: cachix/cachix-action@v12
|
|
|
|
with:
|
|
|
|
name: nifoc
|
|
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
|
|
- run: nix build '.#nixosConfigurations.attic.pkgs.attic-server'
|
|
|
|
- run: nix build '.#nixosConfigurations.attic.pkgs.attic-client'
|
2023-05-12 15:39:09 +00:00
|
|
|
- run: nix build '.#nixosConfigurations.attic.pkgs.deploy-rs'
|
2023-04-23 14:26:44 +00:00
|
|
|
|
|
|
|
build-arm64-linux:
|
|
|
|
runs-on: buildjet-2vcpu-ubuntu-2204-arm
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: cachix/install-nix-action@v20
|
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixpkgs-unstable
|
|
|
|
- uses: cachix/cachix-action@v12
|
|
|
|
with:
|
|
|
|
name: nifoc
|
|
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
|
|
- run: nix build '.#nixosConfigurations.adsb-antenna.pkgs.attic-client'
|
2023-05-12 15:39:09 +00:00
|
|
|
- run: nix build '.#nixosConfigurations.adsb-antenna.pkgs.deploy-rs'
|