Skip to content

Commit bfb09a9

Browse files
committed
Use Python venv
1 parent 5b4f362 commit bfb09a9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/macos.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ jobs:
5353
env: {MACOSX_DEPLOYMENT_TARGET: 11.0}
5454
run: |
5555
set +e
56-
brew install 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)