From 348875f1398ce9a54558ac43f228e8af9dab8100 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 24 Sep 2021 13:08:12 +0300 Subject: [PATCH] Fix incorrect name of command. --- .cirrus.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index f566b55ee..f8aaf317c 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -10,16 +10,15 @@ env: # https://cirrus-ci.org/guide/tips-and-tricks/#sharing-configuration-between-tasks filter_template: &FILTER_TEMPLATE - only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH == 'develop' skip: "!changesInclude('.cirrus.yml', '**.{h,cpp,c,pro,pri,ts,ui,png}')" linux_task_template: &LINUX_TASK_TEMPLATE << : *FILTER_TEMPLATE ccache_cache: 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" - build_task: + build_script: - uname -a - which qmake - mkdir build @@ -40,7 +39,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE folder: "/usr/local/Homebrew" local_homebrew_cache: folder: "$HOME/Library/Caches/Homebrew" - install_task: + install_script: - brew cleanup # 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 @@ -50,7 +49,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE - chmod -R 755 /usr/local/opt/qt5/* - python3 --version - pip3 install dropbox - build_task: + build_script: - QTDIR="/usr/local/opt/qt5" - PATH="$QTDIR/bin:$PATH" - 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 - "$CXX --version" - make -j$(nproc) - deploy_task: + deploy_script: - ../scripts/cirrus-deploy.sh task: