Merge pull request #126 from balay/patch-2 #173
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-13 CMake Xcode clang15 debug mpich sf | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ develop ] | |
jobs: | |
build: | |
name: Generate Xcode project | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: brew install curl openssl libaec mpich bash | |
- name: Set Bash as the default shell | |
run: echo "/usr/local/bin/bash" >> ~/.bashrc | |
- name: Generate Xcode project | |
shell: bash | |
run: | | |
export OPENSSL_ROOT_DIR=/usr/local/Cellar/openssl@3/3.1.1 | |
export CC=$(brew --prefix llvm@15)/bin/clang | |
echo $CC | |
mkdir build | |
cd build | |
cmake \ | |
-DHDF5_BUILD_FORTRAN:BOOL=OFF \ | |
-DHDF5_ENABLE_PARALLEL:BOOL=ON \ | |
-DHDF5_ENABLE_ROS3_VFD:BOOL=ON \ | |
-DHDF5_ENABLE_SUBFILING_VFD:BOOL=ON \ | |
-DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF \ | |
-G Xcode .. | |
cmake --build . --config Debug | |
ctest --build . -C Debug -E MPI_TEST_H5DIFF-h5diff -VV --output-on-error | |
sudo cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_CONFIG_NAME=Debug -P cmake_install.cmake | |