Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisklein committed Apr 10, 2024
1 parent b6ff0f3 commit 7622c6c
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: Build

on:
push:
branches: [ main ]
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
# container:
# image: ${{ matrix.container }}
# options: --user root

env:
SOURCEDIR: ${{ github.workspace }}
Expand All @@ -23,29 +23,31 @@ jobs:

matrix:
container:
- ubuntu:lunar
- ubuntu:mantic
# - ubuntu:lunar
# - ubuntu:mantic
- ubuntu:noble
include:
- container: ubuntu:lunar
slurm: 22.05
- container: ubuntu:mantic
slurm: 23.02
# - 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
# - 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

0 comments on commit 7622c6c

Please sign in to comment.