mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
travis: Install and use ccache on macOS
As documented in [1], ccache needs to be installed and configured explicitly on macOS. [1] https://docs.travis-ci.com/user/caching/#ccache-cache Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
f3f7cb73b9
commit
0d42fa688b
@ -21,12 +21,12 @@ matrix:
|
|||||||
- compiler: clang
|
- compiler: clang
|
||||||
os: osx
|
os: osx
|
||||||
env:
|
env:
|
||||||
- PATH="/usr/local/opt/gettext/bin:/usr/local/opt/rpcgen/bin:$PATH"
|
- PATH="/usr/local/opt/gettext/bin:/usr/local/opt/ccache/libexec:/usr/local/opt/rpcgen/bin:$PATH"
|
||||||
before_install:
|
before_install:
|
||||||
- brew uninstall python mercurial postgis sfcgal cgal gdal
|
- brew uninstall python mercurial postgis sfcgal cgal gdal
|
||||||
- brew update
|
- brew update
|
||||||
- brew upgrade
|
- brew upgrade
|
||||||
- brew install python rpcgen yajl
|
- brew install python ccache rpcgen yajl
|
||||||
script:
|
script:
|
||||||
# We can't run make distcheck/syntax-check because they
|
# We can't run make distcheck/syntax-check because they
|
||||||
# fail on macOS, but doing 'install' and 'dist' gives us
|
# fail on macOS, but doing 'install' and 'dist' gives us
|
||||||
|
Loading…
x
Reference in New Issue
Block a user