From 94d1eae464dfc52638ca67e47cb8854819d98b5e Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 8 Jun 2021 19:29:34 +0300 Subject: [PATCH] Move macOS build scripts to appveyor configuration --- .appveyor.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 2c18c0edc..21a0693b7 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,9 +1,24 @@ image: - - Visual Studio 2019 - macos + - Visual Studio 2019 clone_depth: 400 for: + - + matrix: + only: + - image: macos + install: + - bash scripts/osx-translations.sh + - bash scripts/osx-setup.sh + - python3 scripts/compile_lang.py + - python3 scripts/dump_crowdin_progress.py + - python3 db_update.py + - export PYFA_VERSION="$(python3 scripts/dump_version.py)" + - bash scripts/osx-package.sh + before_deploy: + - export RELEASE_PKG_FILE=$(ls *.deb) + - echo "deploying $RELEASE_PKG_FILE to GitHub releases" - matrix: only: @@ -77,8 +92,6 @@ for: after_build: - ps: "ls \"./\"" - ps: 7z a "pyfa-$env:PYFA_VERSION-win.zip" -r "$env:PYFA_DIST_DIR\pyfa\*" - test_script: - # Ha... we're just building artifacts: - path: pyfa*-win.zip - path: pyfa*-win.exe