-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (46 loc) · 1.15 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Build
on:
push:
branches: [ main, add-runtime-slurm-test ]
pull_request:
branches: [ main ]
jobs:
build:
name: Slurm ${{ matrix.slurm }}
runs-on: ubuntu-latest
container:
image: ${{ matrix.container }}
options: --user root
env:
SOURCEDIR: ${{ github.workspace }}
BUILDDIR: ${{ github.workspace}}/build
strategy:
fail-fast: false
matrix:
container:
- ubuntu:lunar
- ubuntu:mantic
- ubuntu:noble
include:
# - container: ubuntu:lunar
# slurm: 22.05
# - container: ubuntu:mantic
# slurm: 23.02
- container: ubuntu:noble
slurm: 23.11
steps:
- run: apt-get update -y
# - run: apt-get install -y cmake g++ ninja-build libslurm-dev
#
# - uses: actions/checkout@v4
#
# - name: Configure
# run: cmake -GNinja -S $SOURCEDIR -B $BUILDDIR
#
# - name: Build
# run: cmake --build $BUILDDIR
#
# - name: Test
# run: ctest --test-dir $BUILDDIR
- run: apt-get install -y podman
- run: podman network create asdf