Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-14-large]
os: [macos-14-large, macos-latest]

steps:
- name: Setup cmake
Expand All @@ -124,15 +124,24 @@ jobs:
echo "GTEST=$GTEST" >> $GITHUB_ENV
SSCDIR=$GITHUB_WORKSPACE/ssc
echo "SSCDIR=$SSCDIR" >> $GITHUB_ENV
ORTOOLSDIR=$GITHUB_WORKSPACE/or-tools_x86_64_macOS-15.5_cpp_v$ORTOOLS_VER.$ORTOOLS_RELEASE
echo "ORTOOLSDIR=$ORTOOLSDIR" >> $GITHUB_ENV

- name: Download OR-Tools
if: steps.cached-ortools-restore.outputs.cache-hit != 'true'
- name: Download OR-Tools x86
if: steps.cached-ortools-restore.outputs.cache-hit != 'true' && matrix.os == 'macos-14-large'
shell: bash
run: |
curl -L https://github.com/google/or-tools/releases/download/v$ORTOOLS_VER/or-tools_x86_64_macOS-15.5_cpp_v$ORTOOLS_VER.$ORTOOLS_RELEASE.tar.gz -o or-tools-$ORTOOLS_VER.tar.gz
tar xvzf or-tools-$ORTOOLS_VER.tar.gz
ORTOOLSDIR=$GITHUB_WORKSPACE/or-tools_x86_64_macOS-15.5_cpp_v$ORTOOLS_VER.$ORTOOLS_RELEASE
echo "ORTOOLSDIR=$ORTOOLSDIR" >> $GITHUB_ENV

- name: Download OR-Tools x64
if: steps.cached-ortools-restore.outputs.cache-hit != 'true' && matrix.os == 'macos-latest'
shell: bash
run: |
curl -L https://github.com/google/or-tools/releases/download/v$ORTOOLS_VER/or-tools_arm64_macOS-15.5_cpp_v$ORTOOLS_VER.$ORTOOLS_RELEASE.tar.gz -o or-tools-$ORTOOLS_VER.tar.gz
tar xvzf or-tools-$ORTOOLS_VER.tar.gz
ORTOOLSDIR=$GITHUB_WORKSPACE/or-tools_arm64_macOS-15.5_cpp_v$ORTOOLS_VER.$ORTOOLS_RELEASE
echo "ORTOOLSDIR=$ORTOOLSDIR" >> $GITHUB_ENV

- name: Get cached GTest
uses: actions/cache@v4
Expand Down
Loading