nixos/aplaz: use x86_64-linux
metis for crossing compiling the kernel
#1193
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "cachix & check" | |
on: | |
pull_request: | |
push: | |
jobs: | |
build-hosts: | |
strategy: | |
matrix: | |
host: [ adrastea ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: inclyc | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
# Cherry-picked from https://github.com/TGuimbert/dotfiles/blob/3b9d27ec6e22ab7c70819799876e4eb089678424/.github/workflows/cachix.yaml#L8 | |
- name: Build NixOS configuration | |
run: nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel | |
build-packages: | |
strategy: | |
matrix: | |
package: [ topsap ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: inclyc | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
# Cherry-picked from https://github.com/TGuimbert/dotfiles/blob/3b9d27ec6e22ab7c70819799876e4eb089678424/.github/workflows/cachix.yaml#L8 | |
- name: Build Packages | |
run: nix build .#${{ matrix.package }} | |
build-home-configurations: | |
strategy: | |
matrix: | |
home: [ lyc@adrastea, lyc@metis, lyc@ict-malcon ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: inclyc | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
# Cherry-picked from https://github.com/TGuimbert/dotfiles/blob/3b9d27ec6e22ab7c70819799876e4eb089678424/.github/workflows/cachix.yaml#L8 | |
- name: Build home-manager configuration | |
run: nix build .#homeConfigurations."${{ matrix.home }}".activationPackage |