[CI] Add homebrew bins to path

This commit is contained in:
Marko Viitanen 2024-07-31 13:45:48 +03:00
parent 9f13c937b3
commit b74a1a5731
2 changed files with 3 additions and 1 deletions

View file

@ -6,7 +6,7 @@ test-uvg266: &test-template
stage: test stage: test
script: script:
- bash .travis-install.bash - 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) - cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
- make install - make install
- env CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test - env CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test

View file

@ -6,6 +6,8 @@ set -euvo pipefail
mkdir -p "${HOME}/bin" mkdir -p "${HOME}/bin"
export PATH="/opt/homebrew/bin/:${PATH}"
if [ "$(uname)" == "Darwin" ]; then if [ "$(uname)" == "Darwin" ]; then
wget http://ultravideo.fi/ffmpeg-release-7.0-static-applesilicon.tar.xz wget http://ultravideo.fi/ffmpeg-release-7.0-static-applesilicon.tar.xz
sha256sum -c - << EOF sha256sum -c - << EOF