From b74a1a5731c3d93467f401b8914f9fda55466c5c Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Wed, 31 Jul 2024 13:45:48 +0300 Subject: [PATCH] [CI] Add homebrew bins to path --- .gitlab-ci.yml | 2 +- .travis-install.bash | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d111ce82..e76e9fa4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ test-uvg266: &test-template stage: test script: - bash .travis-install.bash - - export PATH="${HOME}/bin:${PATH}" + - export PATH="/opt/homebrew/bin/:${HOME}/bin:${PATH}" - cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false) - make install - env CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test diff --git a/.travis-install.bash b/.travis-install.bash index 1fbc6be3..4166a372 100644 --- a/.travis-install.bash +++ b/.travis-install.bash @@ -6,6 +6,8 @@ set -euvo pipefail mkdir -p "${HOME}/bin" +export PATH="/opt/homebrew/bin/:${PATH}" + if [ "$(uname)" == "Darwin" ]; then wget http://ultravideo.fi/ffmpeg-release-7.0-static-applesilicon.tar.xz sha256sum -c - << EOF