diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-04-12 03:58:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 03:58:39 (GMT) |
commit | d1727fe8f3c5fcbe8679f8c3e1cc3b98cc6ca99e (patch) | |
tree | 0f57252f9d6379425405b16a3174de5ec60b66c6 /.github/workflows | |
parent | 82b722120858d2460a6c8dc933bbf692edb431b6 (diff) | |
download | hdf5-d1727fe8f3c5fcbe8679f8c3e1cc3b98cc6ca99e.zip hdf5-d1727fe8f3c5fcbe8679f8c3e1cc3b98cc6ca99e.tar.gz hdf5-d1727fe8f3c5fcbe8679f8c3e1cc3b98cc6ca99e.tar.bz2 |
Use additional CPUs in GitHub actions (#2695)
* Build: 3 CPUs
* Tests: 2 CPUs
For both Autotools and CMake
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/main.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 35c0d64..ea63fd8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -514,12 +514,12 @@ jobs: # - name: Autotools Build - run: make + run: make -j3 working-directory: ${{ runner.workspace }}/build if: matrix.generator == 'autogen' - name: CMake Build - run: cmake --build . --config ${{ matrix.build_mode.cmake }} + run: cmake --build . --parallel 3 --config ${{ matrix.build_mode.cmake }} working-directory: ${{ runner.workspace }}/build if: matrix.generator != 'autogen' @@ -528,12 +528,12 @@ jobs: # - name: Autotools Run Tests - run: make check + run: make check -j2 working-directory: ${{ runner.workspace }}/build if: (matrix.generator == 'autogen') && (matrix.run_tests) - name: CMake Run Tests - run: ctest --build . -C ${{ matrix.build_mode.cmake }} -V + run: ctest --build . --parallel 2 -C ${{ matrix.build_mode.cmake }} -V working-directory: ${{ runner.workspace }}/build # Skip Debug MSVC while we investigate H5L Java test timeouts if: (matrix.generator != 'autogen') && (matrix.run_tests) && ! ((matrix.name == 'Windows MSVC CMake') && (matrix.build_mode.cmake == 'Debug')) |