1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-25 19:26:38 +02:00
git/ci
SZEDER Gábor 7d4733c501 ci: fix GCC install in the Travis CI GCC OSX job
A few days ago Travis CI updated their existing OSX images, including
the Homebrew database in the xcode10.1 OSX image that we use.  Since
then installing dependencies in the 'osx-gcc' job fails when it tries
to link gcc@8:

  + brew link gcc@8
  Error: No such keg: /usr/local/Cellar/gcc@8

GCC8 is still installed but not linked to '/usr/local' in the updated
image, as it was before this update, but now we have to link it by
running 'brew link gcc'.  So let's do that then, and fall back to
linking gcc@8 if it doesn't, just to be sure.

Our builds on Azure Pipelines are unaffected by this issue.  The OSX
image over there doesn't contain the gcc@8 package, so we have to
'brew install' it, which already takes care of linking it to
'/usr/local'.  After that the 'brew link gcc' command added by this
patch fails, but the ||-chained fallback 'brew link gcc@8' command
succeeds with an "already linked" warning.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-10-24 11:31:07 +09:00
..
util travis-ci: include the trash directories of failed tests in the trace log 2018-08-01 09:59:36 -07:00
install-dependencies.sh ci: fix GCC install in the Travis CI GCC OSX job 2019-10-24 11:31:07 +09:00
lib.sh Merge branch 'sg/travis-help-debug' 2019-10-07 11:33:01 +09:00
make-test-artifacts.sh ci: parallelize testing on Windows 2019-01-29 09:26:47 -08:00
mount-fileshare.sh Add a build definition for Azure DevOps 2019-01-29 09:26:46 -08:00
print-test-failures.sh ci/lib.sh: add support for Azure Pipelines 2019-01-29 09:26:46 -08:00
run-build-and-tests.sh travis-ci: build with GCC 4.8 as well 2019-07-19 14:06:01 -07:00
run-linux32-build.sh Merge branch 'js/vsts-ci' 2019-02-06 22:05:26 -08:00
run-linux32-docker.sh ci: rename the library of common functions 2019-01-28 10:34:28 -08:00
run-static-analysis.sh ci: run `hdr-check` as part of the `Static Analysis` job 2019-10-03 10:34:57 +09:00
run-test-slice.sh ci: parallelize testing on Windows 2019-01-29 09:26:47 -08:00
test-documentation.sh Documentation: fix build with Asciidoctor 2 2019-09-16 12:20:39 -07:00