mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 23:27:04 +02:00
CI: travis-ci: speed up osx build by running brew scripted, switch to latest osx image
we used to use travis-ci brew plugin to install "socat", travis-ci brew plugin works predictable in "all update" mode. sometimes it might take 12 minutes. let us improve developer velocity by running brew from command line. It takes 2 minutes instead of 12 minutes latest osx seems to have more stable brew, let us switch to latest osx available. osx images list: https://docs.travis-ci.com/user/reference/osx/#macos-version
This commit is contained in:
parent
62fd12149f
commit
e0e6aa5dda
@ -22,9 +22,6 @@ addons:
|
|||||||
apt:
|
apt:
|
||||||
update: true
|
update: true
|
||||||
packages: [ liblua5.3-dev, libsystemd-dev, libpcre2-dev, clang-9, socat, ninja-build ]
|
packages: [ liblua5.3-dev, libsystemd-dev, libpcre2-dev, clang-9, socat, ninja-build ]
|
||||||
homebrew:
|
|
||||||
update: true
|
|
||||||
packages: [ socat ]
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
@ -94,8 +91,12 @@ matrix:
|
|||||||
compiler: clang
|
compiler: clang
|
||||||
env: TARGET=linux-glibc FLAGS= CC=clang-9
|
env: TARGET=linux-glibc FLAGS= CC=clang-9
|
||||||
- os: osx
|
- os: osx
|
||||||
|
osx_image: xcode12
|
||||||
if: type == push
|
if: type == push
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
before_script:
|
||||||
|
- echo 'brew "socat"' > brew.bundle
|
||||||
|
- brew bundle --file=brew.bundle
|
||||||
env: TARGET=osx FLAGS="USE_OPENSSL=1" OPENSSL_VERSION=1.1.1f
|
env: TARGET=osx FLAGS="USE_OPENSSL=1" OPENSSL_VERSION=1.1.1f
|
||||||
- os: linux
|
- os: linux
|
||||||
if: type == cron
|
if: type == cron
|
||||||
|
Loading…
Reference in New Issue
Block a user