Skip to content

Commit ebd6ac4

Browse files
authored
Merge pull request #749 from lukaszstolarczuk/bump-macos
[CI] Switch MacOS job from old 12 to new 14
2 parents ddd572b + cccc1ef commit ebd6ac4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/basic.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ jobs:
429429
name: MacOS
430430
strategy:
431431
matrix:
432-
os: ['macos-12', 'macos-13']
432+
os: ['macos-13', 'macos-14']
433433
env:
434434
BUILD_TYPE : "Release"
435435
runs-on: ${{matrix.os}}
@@ -440,8 +440,13 @@ jobs:
440440
with:
441441
fetch-depth: 0
442442

443-
- name: Install Python requirements
444-
run: python3 -m pip install -r third_party/requirements.txt
443+
# Latest distros do not allow global pip installation
444+
- name: Install Python requirements in venv
445+
run: |
446+
python3 -m venv .venv
447+
. .venv/bin/activate
448+
echo "$PATH" >> $GITHUB_PATH
449+
python3 -m pip install -r third_party/requirements.txt
445450
446451
- name: Install hwloc
447452
run: brew install hwloc jemalloc tbb

0 commit comments

Comments
 (0)