chore(deps): bump the github-actions group with 5 updates #75
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mac ninja clang j ompi ts | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
name: ["mac ninja clang j ompi ts"] | |
include: | |
- name: "mac ninja clang j ompi ts" | |
artifact: "macOS.tar.xz" | |
os: macos-latest | |
build_type: "Release" | |
cpp: OFF | |
fortran: OFF | |
java: ON | |
ts: ON | |
hl: OFF | |
parallel: ON | |
toolchain: "config/toolchain/clang.cmake" | |
generator: "-G Ninja" | |
name: ${{ matrix.name }} | |
# The type of runner that the job will run on | |
runs-on: ${{ matrix.os }} | |
if: "!contains(github.event.head_commit.message, 'skip-ci')" | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Install Dependencies (macOS) | |
run: brew install ninja openmpi libaec | |
if: matrix.os == 'macos-latest' | |
- name: Get Sources | |
uses: actions/checkout@v4.1.1 | |
- name: Configure | |
run: | | |
mkdir "${{ runner.workspace }}/build" | |
cd "${{ runner.workspace }}/build" | |
cmake ${{ matrix.generator }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }} -DBUILD_SHARED_LIBS=ON -DHDF5_ENABLE_ALL_WARNINGS=ON -DHDF5_ENABLE_THREADSAFE:BOOL=${{ matrix.ts }} -DHDF5_BUILD_HL_LIB:BOOL=${{ matrix.hl }} -DHDF5_ENABLE_PARALLEL:BOOL=${{ matrix.parallel }} -DHDF5_BUILD_CPP_LIB:BOOL=${{ matrix.cpp }} -DHDF5_BUILD_FORTRAN=${{ matrix.fortran }} -DHDF5_BUILD_JAVA=${{ matrix.java }} -DMPIEXEC_MAX_NUMPROCS:STRING=2 -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF $GITHUB_WORKSPACE | |
shell: bash | |
- name: Build | |
run: cmake --build . --config ${{ matrix.build_type }} | |
working-directory: ${{ runner.workspace }}/build | |
- name: Test | |
run: ctest --build . -C ${{ matrix.build_type }} -V | |
working-directory: ${{ runner.workspace }}/build | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: my-artifact | |
path: ${{ runner.workspace }}/build/Testing/Temporary/CTestCostData.txt |