-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2e68af
commit ad09561
Showing
1 changed file
with
10 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ on: | |
jobs: | ||
docker-image: | ||
uses: ./.github/workflows/docker.yml | ||
linux-build: | ||
linux: | ||
runs-on: ubuntu-latest | ||
needs: [docker-image] | ||
container: | ||
|
@@ -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 |