Skip to content

Commit 6774035

Browse files
committed
ci: build in parallel
1 parent f31450c commit 6774035

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
run: cmake -S scripts -B scripts/build -DCMAKE_INSTALL_PREFIX=${{ runner.temp }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
122122

123123
- name: Build/install HDF5
124-
run: cmake --build scripts/build || cmake --build scripts/build
124+
run: cmake --build scripts/build --parallel || cmake --build scripts/build --parallel
125125
# double build to workaround HDF5 build bug--can't find MPI_C first time.
126126

127127
- name: configure h5fortran

.github/workflows/ci_macos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ jobs:
7373
run: cmake -S scripts -B scripts/build -DCMAKE_INSTALL_PREFIX=${{ runner.temp }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
7474

7575
- name: Build/install HDF5
76-
run: cmake --build scripts/build --parallel
76+
run: cmake --build scripts/build --parallel || cmake --build scripts/build --parallel
77+
# double build to workaround HDF5 build bug--can't find MPI_C first time.
7778

7879
- run: cmake -B build -DCMAKE_INSTALL_PREFIX=${{ runner.temp }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }} -DCMAKE_PREFIX_PATH=${{ runner.temp }}
7980
- run: cmake --build build --parallel

.github/workflows/intel-oneapi.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ name: intel-oneapi
22

33
env:
44
CTEST_PARALLEL_LEVEL: 2
5-
CMAKE_BUILD_TYPE: Release
65
CMAKE_GENERATOR: Ninja
76
CC: icx
8-
FC: ifort
7+
FC: ifx
98

109
on:
1110
push:

0 commit comments

Comments
 (0)