Skip to content

Commit b794206

Browse files
committed
Installing Nvidia first, since it is too big otherwise for the runner
1 parent bd86834 commit b794206

File tree

1 file changed

+21
-27
lines changed

1 file changed

+21
-27
lines changed

.github/workflows/ci_build_scm_ubuntu_nvidia.yml

Lines changed: 21 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
name: build the CCPP-SCM with Nvidia
22

3-
on:
4-
workflow_run:
5-
workflows: ["build and run SCM regression tests"]
6-
types:
7-
- completed
8-
93
jobs:
104

115
build_scm:
@@ -64,23 +58,6 @@ jobs:
6458
run: |
6559
df -h
6660
67-
#######################################################################################
68-
# Initial
69-
#######################################################################################
70-
- name: Checkout SCM code (into /home/runner/work/ccpp-scm/)
71-
uses: actions/checkout@v4
72-
73-
- name: Initialize submodules
74-
run: git submodule update --init --recursive
75-
76-
#######################################################################################
77-
# Python setup
78-
#######################################################################################
79-
- name: Set up Python
80-
uses: actions/setup-python@v5
81-
with:
82-
python-version: ${{matrix.py-version}}
83-
8461
# - name: Add conda to system path
8562
# run: |
8663
# echo $CONDA/bin >> $GITHUB_PATH
@@ -124,14 +101,31 @@ jobs:
124101
echo "CMAKE_C_COMPILER=/home/runner/hpc_sdk/Linux_x86_64/${NVVERSION}/compilers/bin/nvc" >> $GITHUB_ENV
125102
echo "CMAKE_Fortran_COMPILER=/home/runner/hpc_sdk/Linux_x86_64/${NVVERSION}/compilers/bin/nvfortran" >> $GITHUB_ENV
126103
127-
#######################################################################################
128-
# Install FORTRAN dependencies
129-
#######################################################################################
130-
131104
- name: Check space (pre dependency install)
132105
run: |
133106
df -h
134107
108+
#######################################################################################
109+
# Initialize SCM
110+
#######################################################################################
111+
- name: Checkout SCM code (into /home/runner/work/ccpp-scm/)
112+
uses: actions/checkout@v4
113+
114+
- name: Initialize submodules
115+
run: git submodule update --init --recursive
116+
117+
#######################################################################################
118+
# Python setup
119+
#######################################################################################
120+
- name: Set up Python
121+
uses: actions/setup-python@v5
122+
with:
123+
python-version: ${{matrix.py-version}}
124+
125+
#######################################################################################
126+
# Install FORTRAN dependencies
127+
#######################################################################################
128+
135129
- name: Install Curl and zlib
136130
run: |
137131
sudo apt-get update

0 commit comments

Comments
 (0)