Skip to content

Commit

Permalink
[travis] macos -- added caching
Browse files Browse the repository at this point in the history
  • Loading branch information
oxy86 committed Nov 28, 2024
1 parent ff49c7a commit cf52298
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jobs:
env: FAILURES=true
osx_image: xcode14.2
if: tag IS present OR commit_message =~ /\[travis\]|\[ci\]/ AND commit_message !~ /\[skip osx\]/
cache:
directories:
- /usr/local/Homebrew
- /Users/travis/Library/Caches/Homebrew
# addons:
# homebrew:
# packages:
Expand Down
3 changes: 2 additions & 1 deletion scripts/travis_install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ elif [ "${TRAVIS_OS_NAME}" == "osx" ]; then
# brew install p7zip
# echo "installing create-dmg"
# brew install create-dmg
brew install qt cmake ninja brotli c-ares icu4c@76 pkgconf libnghttp2 autoconf automake libtool ca-certificates mpdecimal openssl@3 p7zip create-dmg
brew install --no-quarantine qt cmake ninja brotli c-ares icu4c@76 pkgconf libnghttp2 autoconf automake libtool ca-certificates mpdecimal openssl@3 p7zip create-dmg
# brew install --no-quarantine qt cmake ninja brotli vulkan-headers vulkan-loader
## Install npm appdmg if you want to create custom dmg files with it
## npm install -g appdmg
# echo "Running brew link to symlink various Qt binaries into /usr/local/bin etc so..."
Expand Down
10 changes: 5 additions & 5 deletions scripts/travis_make_build_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
echo "SocNetV files installed in appdir -- final:"
find appdir/

# Check Qt plugins
echo "Checking Qt plugins directory..."
find /opt/ | grep "/plugins" | grep qt
echo "Checking /opt directory for Qt:"
find /opt | grep qt
# # Check Qt plugins
# echo "Checking Qt plugins directory..."
# find /opt/ | grep "/plugins" | grep qt
# echo "Checking /opt directory for Qt:"
# find /opt | grep qt


# Download and run linuxdeployqt tool
Expand Down

0 comments on commit cf52298

Please sign in to comment.