Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryngelson authored Jan 30, 2023
1 parent 1d551a5 commit 43dfcf1
Showing 1 changed file with 3 additions and 37 deletions.
40 changes: 3 additions & 37 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
- os: ubuntu-latest
- os: macos-latest
gcc: 11
- os: instinct
- os: wingtip-gpu3
- os: self-hosted

runs-on: ${{ matrix.os }}
steps:
- name: Clone
Expand All @@ -46,50 +46,16 @@ jobs:
- name: Setup
if: matrix.os == 'ubuntu-latest'
run: sudo apt install tar wget make cmake gcc g++ python3 python3-dev "openmpi-*" libopenmpi-dev

- name: Setup
if: matrix.os == 'instinct'
run: |
echo "export PATH=$PATH:/usr/lib64/openmpi/bin/" >> $GITHUB_ENV

- name: Setup
if: matrix.os == 'wingtip-gpu3'
if: matrix.os == 'self-hosted'
run: |
module use /opt/nvidia/hpc_sdk/modulefiles/
module load nvhpc/22.11
- name: Build
if: matrix.os == 'macos-latest'
run: /bin/bash mfc.sh build -j $(nproc)

- name: Build
if: matrix.os == 'ubuntu-latest'
run: /bin/bash mfc.sh build -j $(nproc)

- name: Build
if: matrix.os == 'wingtip-gpu3'
run: /bin/bash mfc.sh build -j $(nproc)

- name: Build
if: matrix.os == 'instinct'
run: |
export PATH=$PATH:/usr/lib64/openmpi/bin/
/bin/bash mfc.sh build -j $(nproc)
- name: Test Suite
if: matrix.os == 'instinct'
run: |
export PATH=$PATH:/usr/lib64/openmpi/bin/
/bin/bash mfc.sh test -j $(nproc) -b mpirun
- name: Test Suite
if: matrix.os == 'ubuntu-latest'
run: /bin/bash mfc.sh test -j $(nproc)

- name: Test Suite
if: matrix.os == 'macos-latest'
run: /bin/bash mfc.sh test -j $(nproc)

- name: Test Suite
if: matrix.os == 'wingtip-gpu3'
run: /bin/bash mfc.sh test -j $(nproc) -b mpirun

0 comments on commit 43dfcf1

Please sign in to comment.