Merge branch 'ab/ci-use-macos-12'
CI fix. * ab/ci-use-macos-12: CI: upgrade to macos-12, and pin OSX version
This commit is contained in:
commit
0b32d1aea2
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -238,11 +238,11 @@ jobs:
|
|||||||
pool: ubuntu-20.04
|
pool: ubuntu-20.04
|
||||||
- jobname: osx-clang
|
- jobname: osx-clang
|
||||||
cc: clang
|
cc: clang
|
||||||
pool: macos-latest
|
pool: macos-12
|
||||||
- jobname: osx-gcc
|
- jobname: osx-gcc
|
||||||
cc: gcc
|
cc: gcc
|
||||||
cc_package: gcc-9
|
cc_package: gcc-9
|
||||||
pool: macos-latest
|
pool: macos-12
|
||||||
- jobname: linux-gcc-default
|
- jobname: linux-gcc-default
|
||||||
cc: gcc
|
cc: gcc
|
||||||
pool: ubuntu-latest
|
pool: ubuntu-latest
|
||||||
|
@ -30,7 +30,7 @@ ubuntu-*)
|
|||||||
cp git-lfs-$LINUX_GIT_LFS_VERSION/git-lfs .
|
cp git-lfs-$LINUX_GIT_LFS_VERSION/git-lfs .
|
||||||
popd
|
popd
|
||||||
;;
|
;;
|
||||||
macos-latest)
|
macos-*)
|
||||||
export HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1
|
export HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1
|
||||||
# Uncomment this if you want to run perf tests:
|
# Uncomment this if you want to run perf tests:
|
||||||
# brew install gnu-time
|
# brew install gnu-time
|
||||||
|
@ -252,7 +252,7 @@ ubuntu-*)
|
|||||||
GIT_LFS_PATH="$HOME/custom/git-lfs"
|
GIT_LFS_PATH="$HOME/custom/git-lfs"
|
||||||
export PATH="$GIT_LFS_PATH:$P4_PATH:$PATH"
|
export PATH="$GIT_LFS_PATH:$P4_PATH:$PATH"
|
||||||
;;
|
;;
|
||||||
macos-latest)
|
macos-*)
|
||||||
if [ "$jobname" = osx-gcc ]
|
if [ "$jobname" = osx-gcc ]
|
||||||
then
|
then
|
||||||
MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=$(which python3)"
|
MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=$(which python3)"
|
||||||
|
Loading…
Reference in New Issue
Block a user