forked from DGNum/infrastructure
40 lines
792 B
YAML
40 lines
792 B
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_web01:
|
|
runs-on: nix
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Build web01
|
|
run: |
|
|
# Enter the shell
|
|
nix-shell --run 'colmena build --on web01'
|