Skip to content

Commit 43dfcf1

Browse files
authored
Update ci.yml
1 parent 1d551a5 commit 43dfcf1

File tree

1 file changed

+3
-37
lines changed

1 file changed

+3
-37
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
- os: ubuntu-latest
2525
- os: macos-latest
2626
gcc: 11
27-
- os: instinct
28-
- os: wingtip-gpu3
27+
- os: self-hosted
28+
2929
runs-on: ${{ matrix.os }}
3030
steps:
3131
- name: Clone
@@ -46,50 +46,16 @@ jobs:
4646
- name: Setup
4747
if: matrix.os == 'ubuntu-latest'
4848
run: sudo apt install tar wget make cmake gcc g++ python3 python3-dev "openmpi-*" libopenmpi-dev
49-
50-
- name: Setup
51-
if: matrix.os == 'instinct'
52-
run: |
53-
echo "export PATH=$PATH:/usr/lib64/openmpi/bin/" >> $GITHUB_ENV
5449

5550
- name: Setup
56-
if: matrix.os == 'wingtip-gpu3'
51+
if: matrix.os == 'self-hosted'
5752
run: |
5853
module use /opt/nvidia/hpc_sdk/modulefiles/
5954
module load nvhpc/22.11
6055
6156
- name: Build
62-
if: matrix.os == 'macos-latest'
63-
run: /bin/bash mfc.sh build -j $(nproc)
64-
65-
- name: Build
66-
if: matrix.os == 'ubuntu-latest'
67-
run: /bin/bash mfc.sh build -j $(nproc)
68-
69-
- name: Build
70-
if: matrix.os == 'wingtip-gpu3'
7157
run: /bin/bash mfc.sh build -j $(nproc)
7258

73-
- name: Build
74-
if: matrix.os == 'instinct'
75-
run: |
76-
export PATH=$PATH:/usr/lib64/openmpi/bin/
77-
/bin/bash mfc.sh build -j $(nproc)
78-
79-
- name: Test Suite
80-
if: matrix.os == 'instinct'
81-
run: |
82-
export PATH=$PATH:/usr/lib64/openmpi/bin/
83-
/bin/bash mfc.sh test -j $(nproc) -b mpirun
84-
8559
- name: Test Suite
86-
if: matrix.os == 'ubuntu-latest'
8760
run: /bin/bash mfc.sh test -j $(nproc)
8861

89-
- name: Test Suite
90-
if: matrix.os == 'macos-latest'
91-
run: /bin/bash mfc.sh test -j $(nproc)
92-
93-
- name: Test Suite
94-
if: matrix.os == 'wingtip-gpu3'
95-
run: /bin/bash mfc.sh test -j $(nproc) -b mpirun

0 commit comments

Comments
 (0)