Skip to content

serial test ci workflow. #4

serial test ci workflow.

serial test ci workflow. #4

Workflow file for this run

name: CI
on:
push:
branches:
- main
workflow_dispatch: {}
pull_request:
types: [opened, labeled, synchronize]
branches:
- main
jobs:
docker-image:
uses: ./.github/workflows/docker.yml
linux:
runs-on: ubuntu-latest
needs: [docker-image]
container:
image: ghcr.io/llnl/scaleuprom/scaleuprom_env:latest
options: --user 1001 --privileged
volumes:
- /mnt:/mnt
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Set Swap Space
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 10
- name: Check out scaleupROM
uses: actions/checkout@v3
- name: Build scaleupROM
run: |
mkdir ${GITHUB_WORKSPACE}/build
cd ${GITHUB_WORKSPACE}/build
cmake .. -DBUILD_SKETCHES=On
make -j 4
- name: Test parser
run: |
cd ${GITHUB_WORKSPACE}/build/test
./test_parser
# - name: Upload the compiled artifacts
# uses: actions/upload-artifact@master
# with:
# name: build-dir
# path: ${GITHUB_WORKSPACE}/build