2023-12-12 17:29:16 +01:00
|
|
|
name: build configuration
|
|
|
|
on:
|
|
|
|
pull_request:
|
2024-01-04 15:36:50 +01:00
|
|
|
types: [opened, synchronize, edited, reopened]
|
2023-12-12 17:29:16 +01:00
|
|
|
branches:
|
|
|
|
- main
|
2023-12-18 15:49:51 +01:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2023-12-12 17:29:16 +01:00
|
|
|
|
|
|
|
jobs:
|
2023-12-15 22:18:33 +01:00
|
|
|
build_compute01:
|
2023-12-15 20:12:50 +01:00
|
|
|
runs-on: nix
|
2023-12-12 17:29:16 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2023-12-15 22:18:33 +01:00
|
|
|
- name: Build compute01
|
2023-12-12 17:29:16 +01:00
|
|
|
run: |
|
|
|
|
# Enter the shell
|
2023-12-15 22:18:33 +01:00
|
|
|
nix-shell --run 'colmena build --on compute01'
|
|
|
|
|
|
|
|
build_storage01:
|
|
|
|
runs-on: nix
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Build storage01
|
|
|
|
run: |
|
|
|
|
# Enter the shell
|
|
|
|
nix-shell --run 'colmena build --on storage01'
|
|
|
|
|
|
|
|
build_web01:
|
|
|
|
runs-on: nix
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Build web01
|
|
|
|
run: |
|
|
|
|
# Enter the shell
|
|
|
|
nix-shell --run 'colmena build --on web01'
|