Skip to content

Commit

Permalink
[CI] Switch to macOS-12
Browse files Browse the repository at this point in the history
  • Loading branch information
krivenko committed Jan 24, 2024
1 parent d64b97d commit ff1247c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build-and-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ on:

jobs:
build-and-test:
runs-on: macos-11
runs-on: macos-12
strategy:
matrix:
compiler:
- { name: "g++-10", cxx: "g++-10" }
- { name: "clang", cxx: "clang++" }
- { name: "g++-11", cxx: "g++-11" }
- { name: "clang", cxx: "clang++"}
install-libcommute: [true, false]

steps:
Expand Down Expand Up @@ -60,7 +60,8 @@ jobs:
fi
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=installed \
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=installed \
${LCA} \
-DStaticAnalysis=OFF \
-DUSE_OPENMP=ON \
Expand All @@ -82,10 +83,11 @@ jobs:
env:
TMPDIR: "/tmp"
run: |
echo -e "\nrmaps_base_oversubscribe = 1" >> \
/usr/local/etc/openmpi-mca-params.conf
mkdir -p $HOME/.prte
echo -e "\nrmaps_default_mapping_policy = :oversubscribe" >> \
$HOME/.prte/mca-params.conf
cd build
CTEST_OUTPUT_ON_FAILURE=1 make test
ctest --output-on-failure
- name: Install
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
sudo sh -c 'echo -e "\nrmaps_base_oversubscribe = 1" >> \
/etc/openmpi/openmpi-mca-params.conf'
cd build
CTEST_OUTPUT_ON_FAILURE=1 make test
ctest --output-on-failure
- name: Install
run: |
Expand Down

0 comments on commit ff1247c

Please sign in to comment.