Message ID | pull.1607.git.1698996455218.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 682a868f674bb0e12740c9b642097762b3b692e1 |
Headers | show |
Series | ci: upgrade to using macos-13 | expand |
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes: > From: Johannes Schindelin <johannes.schindelin@gmx.de> > > In April, GitHub announced that the `macos-13` pool is available: > https://github.blog/changelog/2023-04-24-github-actions-macos-13-is-now-available/. > It is only a matter of time until the `macos-12` pool is going away, > therefore we should switch now, without pressure of a looming deadline. > ... > To reinstate the spirit of that commit _and_ to fix that build failure, > let's switch to the now-newest GCC version: v13.x. Thank you very much for a well reasoned patch that is very timely. I am tempted to fast-track this one down from 'seen' to 'maint' before we tag -rc1. Will queue.
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dcf7d78f1d0..9fdbd540289 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -276,11 +276,11 @@ jobs: pool: ubuntu-20.04 - jobname: osx-clang cc: clang - pool: macos-12 + pool: macos-13 - jobname: osx-gcc cc: gcc - cc_package: gcc-9 - pool: macos-12 + cc_package: gcc-13 + pool: macos-13 - jobname: linux-gcc-default cc: gcc pool: ubuntu-latest diff --git a/ci/lib.sh b/ci/lib.sh index 6fbb5bade12..bc0b23099df 100755 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -253,11 +253,9 @@ ubuntu-*) export PATH="$GIT_LFS_PATH:$P4_PATH:$PATH" ;; macos-*) - if [ "$jobname" = osx-gcc ] + MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=$(which python3)" + if [ "$jobname" != osx-gcc ] then - MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=$(which python3)" - else - MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=$(which python2)" MAKEFLAGS="$MAKEFLAGS APPLE_COMMON_CRYPTO_SHA1=Yes" fi ;;