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 23, 2024
1 parent 2b1eeaf commit f862cdd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/build-and-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ 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++" }
install-libcommute: [true, false]
- { name: "g++-11", cxx: "g++-11" }
install-libcommute: [false]
# FIXME
#- { name: "clang", cxx: "clang++" }
#install-libcommute: [true, false]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -82,10 +84,12 @@ 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
cat $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 f862cdd

Please sign in to comment.