Skip to content

Transition Azure Pipelines to Github Actions #3

Transition Azure Pipelines to Github Actions

Transition Azure Pipelines to Github Actions #3

Workflow file for this run

name: Build and Test
on: pull_request
# strategy:
# matrix:
# VM_IMAGENAME: [ ubuntu-22.04 ]
# COMPILER_TYPE: [ clang, gcc, cuda ]
# TEST_TARGET: [ linux_clang14 ]
# HOST_CONFIG: [ [email protected] ]
# BUILD_TYPE: [ Debug, Release ]
jobs:
build_and_test:
runs-on: ubuntu-latest
container:
image: seracllnl/tpls:clang-14_08-15-24_21h-49m
env:
HOST_CONFIG: [email protected]
BUILD_TYPE: Release
CMAKE_OPTS: -DBUILD_SHARED_LIBS=ON
CONFIG_OPTS: ""
volumes:
- /home/serac/serac
steps:
- uses: actions/checkout@v4
- name: Build and Test
run: ./serac/scripts/llnl/build_src.py $CONFIG_OPTS --verbose \
--host-config $HOST_CONFIG \
--extra-cmake-options "${CMAKE_OPTS} -DCMAKE_BUILD_TYPE=$BUILD_TYPE" \
--jobs 4