Skip to content

Commit

Permalink
serial test ci workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer2368 committed Dec 5, 2023
1 parent f2e68af commit ad09561
Showing 1 changed file with 10 additions and 29 deletions.
39 changes: 10 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
docker-image:
uses: ./.github/workflows/docker.yml
linux-build:
linux:
runs-on: ubuntu-latest
needs: [docker-image]
container:
Expand All @@ -37,31 +37,12 @@ jobs:
cd ${GITHUB_WORKSPACE}/build
cmake .. -DBUILD_SKETCHES=On
make -j 4
- name: Upload the compiled artifacts
uses: actions/upload-artifact@master
with:
name: build-dir
path: ${GITHUB_WORKSPACE}/build
linux-test:
runs-on: ubuntu-latest
needs: [docker-image, linux-build]
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: Download the compiled artifacts
uses: actions/download-artifact@master
with:
name: build-dir
- 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

0 comments on commit ad09561

Please sign in to comment.