Skip to content

Commit

Permalink
ci:build: use parallel_level
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jan 18, 2024
1 parent dda3591 commit aafac9a
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ name: build
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
CTEST_NO_TESTS_ACTION: error
FC: gfortran-12
FC: gfortran-13
CTEST_PARALLEL_LEVEL: 4
CMAKE_BUILD_PARALLEL_LEVEL: 4


on:
push:
Expand All @@ -28,21 +31,11 @@ jobs:
runs-on: ${{ matrix.os}}

steps:

- name: prereqs (Linux)
if: runner.os == 'Linux'
run: sudo apt install --no-install-recommends ninja-build

- name: prereqs (MacOS)
if: runner.os == 'macOS'
run: brew install ninja

- uses: actions/checkout@v4

- name: Configure HDF5 library
run: >-
cmake
-GNinja
-S scripts -B scripts/build
--install-prefix ${{ runner.temp }}
-DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
Expand Down

0 comments on commit aafac9a

Please sign in to comment.