Commit Graph

4 Commits

Author SHA1 Message Date
brian m. carlson
69553c9948
ci: don't reinstall openssl with Homebrew
GitHub Actions ships its own version of the openssl Homebrew package
that fails to reinstall with an EPERM error.  Since the reason we did
these contortions was to relink gettext and we finally gave up and
disabled gettext, let's just go back to a brew link --force and stop
trying to reinstall.
2020-09-22 20:05:21 +00:00
Chris Darroch
7dc8a98641 script/build-git: compile without gettext on macOS
Due to recent Homebrew changes, our CI builds of Git failed with
a missing gettext dependency.  While the upstream issue may
have been resolved, we can simply avoid the problem entirely
by building Git without gettext.

See also https://github.com/Homebrew/homebrew-core/issues/53485
and https://lore.kernel.org/git/20200426200932.3769-1-tboegi@web.de/
2020-04-27 19:53:10 -07:00
brian m. carlson
cefbabe6f5
script/build-git: try harder to fix Homebrew
For an unknown reason, sometimes libintl.h is missing on macOS when it
should not be.  Try harder to fix this by reinstalling the packages
which are already allegedly installed and forcing an unlink and re-link.
2019-10-24 18:54:53 +00:00
brian m. carlson
c328208062
Switch CI to use GitHub Actions
Currently, we have three different CI systems that handle our CI: Travis
for Linux, CircleCI for macOS, and AppVeyor for Windows.  This results
in widely varying performance across systems and the need to maintain
code that works differently across different CI systems.

In addition, we'd like to use GitHub Actions to automate the release
process, so it makes sense to use it for CI as well.  Switch over by
adding a CI workflow that runs our existing jobs.  Ensure that we filter
out the environment variables that GitHub Actions provides, since they
will cause tests that run "git lfs env" to fail.

Add a script for those jobs where we build a custom Git and install the
appropriate dependencies.  In the cibuild script, hoist the Windows
handling to the top, set a specific environment variable for us to
remember that we're on Windows, and then disable locking, which fails on
Windows and causes the testsuite to abort.  These same environment
variables were set for AppVeyor and are also needed on Windows
development systems.
2019-09-09 14:30:55 +00:00