Workflow splitted
This commit is contained in:
parent
6fcd4730a2
commit
c733eec395
5 changed files with 144 additions and 0 deletions
28
.github/workflows/build-beebox.yaml
vendored
Normal file
28
.github/workflows/build-beebox.yaml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: build-beebox
|
||||||
|
on:
|
||||||
|
workflow_dispatch: # allows manual triggering
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- update_flake_lock_action
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-beebox:
|
||||||
|
if: ${{ always() }}
|
||||||
|
needs: check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: cachix/install-nix-action@v17
|
||||||
|
with:
|
||||||
|
extra_nix_config: |
|
||||||
|
max-jobs = 10
|
||||||
|
|
||||||
|
- uses: cachix/cachix-action@v10
|
||||||
|
with:
|
||||||
|
name: aciceri-fleet
|
||||||
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
|
||||||
|
- run: nix --print-build-logs --verbose build --allow-import-from-derivation .#nixosConfigurations.beebox.config.system.build.toplevel
|
28
.github/workflows/build-hs.yaml
vendored
Normal file
28
.github/workflows/build-hs.yaml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: build-hs
|
||||||
|
on:
|
||||||
|
workflow_dispatch: # allows manual triggering
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- update_flake_lock_action
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-hs:
|
||||||
|
if: ${{ always() }}
|
||||||
|
needs: check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: cachix/install-nix-action@v17
|
||||||
|
with:
|
||||||
|
extra_nix_config: |
|
||||||
|
max-jobs = 10
|
||||||
|
|
||||||
|
- uses: cachix/cachix-action@v10
|
||||||
|
with:
|
||||||
|
name: aciceri-fleet
|
||||||
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
|
||||||
|
- run: nix --print-build-logs --verbose build --allow-import-from-derivation .#nixosConfigurations.hs.config.system.build.toplevel
|
34
.github/workflows/build-pbp.yaml
vendored
Normal file
34
.github/workflows/build-pbp.yaml
vendored
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
name: build-pbp
|
||||||
|
on:
|
||||||
|
workflow_dispatch: # allows manual triggering
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- update_flake_lock_action
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-pbp:
|
||||||
|
if: ${{ always() }}
|
||||||
|
needs: check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: cachix/install-nix-action@v17
|
||||||
|
with:
|
||||||
|
extra_nix_config: |
|
||||||
|
max-jobs = 10
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
DEBIAN_FRONTEND=noninteractive
|
||||||
|
sudo apt-get update -q -y && sudo apt-get install -q -y qemu-system-aarch64 qemu-efi binfmt-support qemu-user-static
|
||||||
|
mkdir -p ~/.config/nix
|
||||||
|
sudo bash -c "echo system-features = aarch64-linux arm-linux >> /etc/nix/nix.conf"
|
||||||
|
|
||||||
|
- uses: cachix/cachix-action@v10
|
||||||
|
with:
|
||||||
|
name: aciceri-fleet
|
||||||
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
|
||||||
|
- run: nix --print-build-logs --verbose build --allow-import-from-derivation --option system aarch64-linux --option sandbox false --extra-platforms aarch64-linux .#nixosConfigurations.pbp.config.system.build.toplevel
|
28
.github/workflows/build-thinkpad.yaml
vendored
Normal file
28
.github/workflows/build-thinkpad.yaml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: build-thinkpad
|
||||||
|
on:
|
||||||
|
workflow_dispatch: # allows manual triggering
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- update_flake_lock_action
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-thinkpad:
|
||||||
|
if: ${{ always() }}
|
||||||
|
needs: check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: cachix/install-nix-action@v17
|
||||||
|
with:
|
||||||
|
extra_nix_config: |
|
||||||
|
max-jobs = 10
|
||||||
|
|
||||||
|
- uses: cachix/cachix-action@v10
|
||||||
|
with:
|
||||||
|
name: aciceri-fleet
|
||||||
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
|
||||||
|
- run: nix --print-build-logs --verbose build --allow-import-from-derivation .#nixosConfigurations.thinkpad.config.system.build.toplevel
|
26
.github/workflows/check.yaml
vendored
Normal file
26
.github/workflows/check.yaml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
name: check
|
||||||
|
on:
|
||||||
|
workflow_dispatch: # allows manual triggering
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- update_flake_lock_action
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: cachix/install-nix-action@v17
|
||||||
|
with:
|
||||||
|
extra_nix_config: |
|
||||||
|
max-jobs = 10
|
||||||
|
|
||||||
|
- uses: cachix/cachix-action@v10
|
||||||
|
with:
|
||||||
|
name: aciceri-fleet
|
||||||
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
|
|
||||||
|
- run: nix --print-build-logs --verbose flake check --allow-import-from-derivation --keep-going
|
Loading…
Add table
Reference in a new issue