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