aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Endler <pokusew@seznam.cz>2019-05-12 02:13:26 +0200
committerMartin Endler <pokusew@seznam.cz>2019-05-12 02:13:26 +0200
commitad740c1207a62f52e50340244b20f045c5ba36b2 (patch)
treea75075ba217ba4c561e0fe925f768bf648e6cecc
parent1b76da07cabe163a798fa94a13b0a5325ef20e86 (diff)
downloadqtmips-ad740c1207a62f52e50340244b20f045c5ba36b2.tar.gz
qtmips-ad740c1207a62f52e50340244b20f045c5ba36b2.tar.bz2
qtmips-ad740c1207a62f52e50340244b20f045c5ba36b2.zip
Improve macOS build
-rw-r--r--azure-pipelines.yml8
-rwxr-xr-xbuild-macos.sh4
2 files changed, 4 insertions, 8 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 7d5c558..628333d 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -33,12 +33,8 @@ jobs:
# docs: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/bash?view=azure-devops
- bash: brew install qt libelf
displayName: Install Qt and libelf using brew
- - bash: echo $PATH
- displayName: Echo $PATH
- bash: echo "##vso[task.setvariable variable=PATH;]/usr/local/opt/qt/bin:$PATH"
displayName: Add Qt to the PATH
- - bash: echo $PATH
- displayName: Echo $PATH
- bash: qmake --version
displayName: Print qmake version
- bash: ./build-macos.sh
@@ -46,5 +42,5 @@ jobs:
# https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/publish-pipeline-artifact?view=azure-devops
- task: PublishPipelineArtifact@0
inputs:
- artifactName: 'qtmips'
- targetPath: build/qtmips.zip
+ artifactName: 'qtmips-macos-build'
+ targetPath: build/qtmips-macos.zip
diff --git a/build-macos.sh b/build-macos.sh
index e66135d..ac4422d 100755
--- a/build-macos.sh
+++ b/build-macos.sh
@@ -45,7 +45,7 @@ echo ""
echo "creating qtmips.zip ..."
cd qtmips_gui
-zip -yr ../qtmips.zip qtmips_gui.app
+zip -yr ../qtmips-macos.zip qtmips_gui.app
cd ..
-zip -j qtmips.zip qtmips_cli/qtmips_cli
+zip -j qtmips-macos.zip qtmips_cli/qtmips_cli
echo ""