IDIOMS Update & BULKI v0.1 (#203) #126
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: MacOS | |
on: | |
pull_request: | |
branches: [ stable, develop ] | |
push: | |
branches: [ stable, develop ] | |
# Allows to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
PDC: | |
runs-on: macos-13 | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Dependencies | |
run: .github/workflows/dependencies-macos.sh | |
- name: Build PDC | |
run: | | |
mkdir build && cd build | |
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc | |
make -j 2 | |
- name: Test PDC | |
working-directory: build | |
run: | | |
sudo sh -c 'echo "`ipconfig getifaddr en0` PDC" >> /etc/hosts' | |
sudo scutil --set HostName PDC | |
export HG_TRANSPORT="sockets" | |
ctest -L serial |