From 4b1b5cb6f34f0a35faa6185b4ed2971cd8dae46e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stolarczuk?= Date: Mon, 23 Sep 2024 16:59:33 +0200 Subject: [PATCH 1/2] [CI] Switch MacOS job from old 12 to new 14 --- .github/workflows/basic.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index a2e41aa5e..cd06ad3bf 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -429,7 +429,7 @@ jobs: name: MacOS strategy: matrix: - os: ['macos-12', 'macos-13'] + os: ['macos-13', 'macos-14'] env: BUILD_TYPE : "Release" runs-on: ${{matrix.os}} From cccc1ef81c5d8a0330c265b0804594a4d13825d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stolarczuk?= Date: Tue, 24 Sep 2024 12:43:36 +0200 Subject: [PATCH 2/2] [CI] Install python deps in venv in macos job the latest distros now do not allow global pip installation. --- .github/workflows/basic.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index cd06ad3bf..6a12c025f 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -440,8 +440,13 @@ jobs: with: fetch-depth: 0 - - name: Install Python requirements - run: python3 -m pip install -r third_party/requirements.txt + # Latest distros do not allow global pip installation + - name: Install Python requirements in venv + run: | + python3 -m venv .venv + . .venv/bin/activate + echo "$PATH" >> $GITHUB_PATH + python3 -m pip install -r third_party/requirements.txt - name: Install hwloc run: brew install hwloc jemalloc tbb