Skip to content

Use APPTAINERENV_PREPEND_PATH while launching a container. #17

Use APPTAINERENV_PREPEND_PATH while launching a container.

Use APPTAINERENV_PREPEND_PATH while launching a container. #17

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
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