forked from DGNum/infrastructure
60 lines
1.2 KiB
YAML
60 lines
1.2 KiB
YAML
name: build configuration
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, edited, reopened]
|
|
branches:
|
|
- main
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build_compute01:
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Build compute01
|
|
run: |
|
|
# Enter the shell
|
|
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_vault01:
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Build vault01
|
|
run: |
|
|
# Enter the shell
|
|
nix-shell --run 'colmena build --on vault01'
|
|
|
|
build_web01:
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Build web01
|
|
run: |
|
|
# Enter the shell
|
|
nix-shell --run 'colmena build --on web01'
|
|
|
|
build_web02:
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Build web02
|
|
run: |
|
|
# Enter the shell
|
|
nix-shell --run 'colmena build --on web02'
|