Skip to content

Commit

Permalink
Added workaround for deprecation of macos-12 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
qstokkink committed Oct 11, 2024
1 parent 55b1e30 commit 9b1a823
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -47,9 +47,12 @@ jobs:
with:
python-version: '3.9'
cache: 'pip'
- shell: bash
run: |
brew --prefix libsodium
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

0 comments on commit 9b1a823

Please sign in to comment.