From 1392750ac1519266e627cc8e8ca6d9eb0bbb9f22 Mon Sep 17 00:00:00 2001 From: Jonathan Moussa Date: Mon, 16 Feb 2026 00:15:42 -0500 Subject: [PATCH 1/2] Update Mac GHA runner --- .github/workflows/CI.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 1740cd8b1..6dff5e51a 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -229,8 +229,8 @@ jobs: path: build/mopac-*-linux.* mac-build: - # macos-latest is now ARM-based, MOPAC is being distributed for Intel-based Macs right now, so using latest free Intel-based standard runner - runs-on: macos-13 + # probably last Intel-based MacOS runner, will need to build on ARM soon + runs-on: macos-15-intel timeout-minutes: 30 steps: From 9e673bef0927f8ef29a1defcf5624d97cf3a027b Mon Sep 17 00:00:00 2001 From: Jonathan Moussa Date: Mon, 16 Feb 2026 00:30:38 -0500 Subject: [PATCH 2/2] Fix fragile command to get number of cores on Linux --- .github/workflows/CI.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 6dff5e51a..12c3e6931 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -32,7 +32,7 @@ jobs: - name: Check number of cores run: | lscpu - lscpu | grep "CPU(s): " | awk '{print $2}' > num_cores + lscpu | grep "CPU(s): " | awk '{print $2}' > num_cores echo "NUM_CORES=$(cat num_cores)" >> $GITHUB_ENV - uses: actions/checkout@v4 @@ -81,7 +81,7 @@ jobs: - name: Check number of cores run: | lscpu - lscpu | grep "CPU(s): " | awk '{print $2}' > num_cores + lscpu | grep "CPU(s): " | awk '{print $2}' > num_cores echo "NUM_CORES=$(cat num_cores)" >> $GITHUB_ENV - uses: actions/checkout@v4 @@ -141,7 +141,7 @@ jobs: - name: Check number of cores run: | lscpu - lscpu | grep "CPU(s): " | awk '{print $2}' > num_cores + lscpu | grep "CPU(s): " | awk '{print $2}' > num_cores echo "NUM_CORES=$(cat num_cores)" >> $GITHUB_ENV - uses: actions/checkout@v4