From 194bc449154555b40a3d395cc97464e1607d2435 Mon Sep 17 00:00:00 2001 From: Quinten Stokkink Date: Fri, 11 Oct 2024 09:59:39 +0200 Subject: [PATCH] Added workaround for deprecation of macos-12 runner --- .github/workflows/build.yml | 2 +- .github/workflows/unittests.yml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db28d2f110..08ce1296cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ jobs: build: strategy: matrix: - os: [macos-12, ubuntu-latest, windows-latest] + os: [ubuntu-latest, windows-latest] # macos-12 is no longer on GitHub Actions, we use the Mac mini for this runs-on: ${{ matrix.os }} diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index c9af4024d0..e43d1cbbd9 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -37,7 +37,7 @@ jobs: cd src python run_unit_tests.py -a macos: - runs-on: macos-12 + runs-on: macos-14 timeout-minutes: 2 steps: - uses: actions/checkout@v4 @@ -47,9 +47,12 @@ jobs: with: python-version: '3.9' cache: 'pip' + - shell: bash + run: | + cp /opt/homebrew/opt/libsodium/*.dylib ./ + sed -i".backup" 's|libtorrent==1.2.19|https://tribler.org/libtorrent-2.0.11-cp39-cp39-macosx_14_0_arm64.whl|' requirements.txt - run: python -m pip install -r requirements.txt - name: Run unit tests run: | cd src python run_unit_tests.py -a -