-
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
cc854b4
commit 68a0e01
Showing
2 changed files
with
57 additions
and
59 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 |
---|---|---|
|
@@ -3,67 +3,65 @@ on: | |
push: | ||
branches: | ||
- main | ||
workflow_dispatch: {} | ||
pull_request: | ||
types: [opened, labeled, synchronize] | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
docker-image: | ||
uses: ./.github/workflows/docker.yml | ||
linux-build: | ||
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: test ci | ||
- 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: | | ||
echo "test run" | ||
# docker-image: | ||
# uses: ./.github/workflows/docker.yml | ||
# linux-build: | ||
# 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: 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 | ||
mkdir ${GITHUB_WORKSPACE}/build | ||
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 |
File renamed without changes.