Skip to content

Commit 0f9b5b6

Browse files
committed
oneAPI -> setup-fortran
1 parent 6409604 commit 0f9b5b6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/meta.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,15 @@ jobs:
111111
112112
- name: (Ubuntu) Install Intel oneAPI
113113
if: contains(matrix.os,'ubuntu') && contains(matrix.mpi,'intel')
114-
timeout-minutes: 15
115-
run: sudo apt-get install intel-oneapi-compiler-dpcpp-cpp-2024.1.0-963 intel-oneapi-compiler-fortran-2024.1.0-963 intel-oneapi-mpi-devel ninja-build
114+
uses: fortran-lang/[email protected]
115+
id: setup-fortran
116+
with:
117+
compiler: intel
118+
version: 2024.1.0
116119

117-
- name: (Ubuntu) Setup Intel oneAPI environment
120+
- name: (Ubuntu) Build HDF5 for oneAPI
118121
if: contains(matrix.os,'ubuntu') && contains(matrix.mpi,'intel')
119122
run: |
120-
source /opt/intel/oneapi/setvars.sh
121-
printenv >> $GITHUB_ENV
122123
# To run HDF5 with oneAPI, we need to build it from source
123124
curl -O -L https://github.com/HDFGroup/hdf5/archive/refs/tags/snapshot-1.14.tar.gz
124125
tar zxf snapshot-1.14.tar.gz

0 commit comments

Comments
 (0)