Skip to content

Commit

Permalink
Merge pull request #709 from MFraters/add_macos13_tester
Browse files Browse the repository at this point in the history
Add macos 13 tester.
  • Loading branch information
MFraters authored May 8, 2024
2 parents 6abcbc2 + 874af47 commit a1501cb
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest','macos-12','macos-11']
os: ['ubuntu-latest','macos-12','macos-11','macos-13']
build_type: ['Release', 'Debug']

runs-on: ${{ matrix.os }}
Expand All @@ -92,7 +92,11 @@ jobs:
echo "3"
ls /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/libexec
echo "4"
sudo xcode-select --switch /Applications/Xcode_13.2.1.app
if [ "${{ matrix.os }}" == "macos-13" ]; then
sudo xcode-select --switch /Applications/Xcode_15.0.1.app
else
sudo xcode-select --switch /Applications/Xcode_13.2.1.app
fi
fi
shell: bash

Expand Down Expand Up @@ -214,7 +218,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest','macos-12']
os: ['ubuntu-latest','macos-12','macos-13']
build_type: ['Release']

runs-on: ${{ matrix.os }}
Expand All @@ -230,7 +234,11 @@ jobs:
elif [ "$RUNNER_OS" == "macOS" ]; then
sudo brew install open-mpi || true
echo "4"
sudo xcode-select --switch /Applications/Xcode_13.2.1.app
if [ "${{ matrix.os }}" == "macos-13" ]; then
sudo xcode-select --switch /Applications/Xcode_15.0.1.app
else
sudo xcode-select --switch /Applications/Xcode_13.2.1.app
fi
else
echo "$RUNNER_OS not supported"
exit 1
Expand Down

0 comments on commit a1501cb

Please sign in to comment.