Fix incorrect name of command.

This commit is contained in:
Roman Telezhynskyi 2021-09-24 13:08:12 +03:00
parent 14fd2b30ba
commit 348875f139

View File

@ -10,16 +10,15 @@ env:
# https://cirrus-ci.org/guide/tips-and-tricks/#sharing-configuration-between-tasks # https://cirrus-ci.org/guide/tips-and-tricks/#sharing-configuration-between-tasks
filter_template: &FILTER_TEMPLATE filter_template: &FILTER_TEMPLATE
only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH == 'develop'
skip: "!changesInclude('.cirrus.yml', '**.{h,cpp,c,pro,pri,ts,ui,png}')" skip: "!changesInclude('.cirrus.yml', '**.{h,cpp,c,pro,pri,ts,ui,png}')"
linux_task_template: &LINUX_TASK_TEMPLATE linux_task_template: &LINUX_TASK_TEMPLATE
<< : *FILTER_TEMPLATE << : *FILTER_TEMPLATE
ccache_cache: ccache_cache:
folder: "/tmp/ccache_dir" folder: "/tmp/ccache_dir"
install_task: install_script:
- bash -c "$PACKAGE_MANAGER_INSTALL qtbase5-dev libqt5svg5-dev qt5-default qttools5-dev-tools libqt5xmlpatterns5-dev libqt5core5a libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 xpdf xvfb ccache" - bash -c "$PACKAGE_MANAGER_INSTALL qtbase5-dev libqt5svg5-dev qt5-default qttools5-dev-tools libqt5xmlpatterns5-dev libqt5core5a libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 xpdf xvfb ccache"
build_task: build_script:
- uname -a - uname -a
- which qmake - which qmake
- mkdir build - mkdir build
@ -40,7 +39,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
folder: "/usr/local/Homebrew" folder: "/usr/local/Homebrew"
local_homebrew_cache: local_homebrew_cache:
folder: "$HOME/Library/Caches/Homebrew" folder: "$HOME/Library/Caches/Homebrew"
install_task: install_script:
- brew cleanup - brew cleanup
# Credit https://discourse.brew.sh/t/best-practice-for-homebrew-on-travis-brew-update-is-5min-to-build-time/5215/9 # Credit https://discourse.brew.sh/t/best-practice-for-homebrew-on-travis-brew-update-is-5min-to-build-time/5215/9
# Cache only .git files under "/usr/local/Homebrew" so "brew update" does not take 5min every build # Cache only .git files under "/usr/local/Homebrew" so "brew update" does not take 5min every build
@ -50,7 +49,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
- chmod -R 755 /usr/local/opt/qt5/* - chmod -R 755 /usr/local/opt/qt5/*
- python3 --version - python3 --version
- pip3 install dropbox - pip3 install dropbox
build_task: build_script:
- QTDIR="/usr/local/opt/qt5" - QTDIR="/usr/local/opt/qt5"
- PATH="$QTDIR/bin:$PATH" - PATH="$QTDIR/bin:$PATH"
- LDFLAGS=-L$QTDIR/lib - LDFLAGS=-L$QTDIR/lib
@ -63,7 +62,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
- qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings CONFIG+=noTests - qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings CONFIG+=noTests
- "$CXX --version" - "$CXX --version"
- make -j$(nproc) - make -j$(nproc)
deploy_task: deploy_script:
- ../scripts/cirrus-deploy.sh - ../scripts/cirrus-deploy.sh
task: task: