Skip to content

Commit e88b917

Browse files
CI: Upgrade to macos-14 (#1808)
* Upgrade to macos-15 * Use brew to install numpy and pandas * Use Python venv * Downgrade again to macos-14
1 parent 0dc2d71 commit e88b917

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/macos.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,18 @@ jobs:
4444
cmake --build build --parallel 3
4545
ctest --test-dir build --verbose
4646
47-
appleclang14_py:
48-
runs-on: macos-13
47+
appleclang15_py:
48+
runs-on: macos-14
4949
if: github.event.pull_request.draft == false
5050
steps:
5151
- uses: actions/checkout@v4
5252
- name: Install
5353
env: {MACOSX_DEPLOYMENT_TARGET: 11.0}
5454
run: |
5555
set +e
56-
python3 -m pip install -U numpy pandas
56+
python -m venv env
57+
source env/bin/activate
58+
python -m pip install numpy pandas
5759
set -e
5860
- name: Build
5961
env: {CXXFLAGS: -Werror, MACOSX_DEPLOYMENT_TARGET: 11.0}
@@ -63,6 +65,7 @@ jobs:
6365
# 11.0+ for arm64/aarch64 (M1/M2) builds
6466
run: |
6567
share/openPMD/download_samples.sh build
68+
source env/bin/activate
6669
cmake -S . -B build \
6770
-DopenPMD_USE_PYTHON=ON \
6871
-DopenPMD_USE_MPI=OFF \

0 commit comments

Comments
 (0)