Skip to content

Commit

Permalink
fix: Use macOS-13 instead of deprecated macOS-12
Browse files Browse the repository at this point in the history
This is just a quick fix to get dub CI working again, we should later go for 14 or 15.
  • Loading branch information
Geod24 committed Dec 31, 2024
1 parent 060612a commit a7a6c49
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
fail-fast: false
matrix:
# Latest stable version, update at will
os: [ macOS-12, ubuntu-20.04, windows-2019 ]
os: [ macOS-13, ubuntu-20.04, windows-2019 ]
dc:
# Always test latest as that is what we use to compile on release
- dmd-latest
Expand All @@ -71,6 +71,12 @@ jobs:
- { dc: ldc-latest, do_test: true }
- { dc: dmd-master, do_test: true }
- { dc: ldc-master, do_test: true }
exclude:
# Error with those versions:
# ld: multiple errors: symbol count from symbol table and dynamic symbol table differ in [.../dub.o]; address=0x0 points to section(2) with no content in '[...]/osx/lib/libphobos2.a[3177](config_a68_4c3.o)'
- { os: macOS-13, dc: dmd-2.099.1 }
- { os: macOS-13, dc: dmd-2.102.2 }
- { os: macOS-13, dc: dmd-2.105.3 }

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -79,7 +85,9 @@ jobs:
- name: '[OSX] Install dependencies'
if: runner.os == 'macOS'
run: |
brew install pkg-config coreutils
# We need to install GNU utils as the test-suite scripts expect it.
# Without them we may get slightly different behavior in tests and hard-to-track failures
brew install pkg-config coreutils diffutils
echo "PKG_CONFIG_PATH=/usr/local/opt/[email protected]/lib/pkgconfig/" >> $GITHUB_ENV
- name: '[Linux] Install dependencies'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ macOS-12, ubuntu-20.04, windows-2019 ]
os: [ macOS-13, ubuntu-20.04, windows-2019 ]
arch: [ x86_64 ]
include:
- { os: windows-2019, arch: i686 }
Expand Down

0 comments on commit a7a6c49

Please sign in to comment.