Skip to content
Permalink
Browse files

Add azure pipeline

  • Loading branch information...
3unjee committed Sep 18, 2019
1 parent f7de733 commit d1e1064a3c6b0f9765e1d83a96c1924d8c1a2ee5
Showing with 22 additions and 10 deletions.
  1. +15 −0 .azure-pipelines.yml
  2. +1 −0 Sky.pro
  3. +6 −10 build.sh
@@ -0,0 +1,15 @@
jobs:
- job: win64_qt5
pool:
vmImage: "windows-latest"
steps:
- bash: |
cd ..
curl -L -o 3rdparty.zip http://omega.gg/get/Sky/3rdparty/win64
unzip 3rdparty.zip
cd s
sh configure.sh qt5 win64
sh build.sh qt5 win64
sh deploy.sh qt5 win64
- publish: $(System.DefaultWorkingDirectory)/deploy
artifact: Sky-win64-qt5
@@ -22,6 +22,7 @@ OTHER_FILES += 3rdparty.sh \
README.md \
LICENSE.md \
AUTHORS.md \
.azure-pipelines.yml \
.travis.yml \
.appveyor.yml \
include/generate.sh \
@@ -7,8 +7,7 @@ set -e

Sky="../.."

external="/c/dev/workspace/3rdparty"
external="/c/dev/workspace/3rdparty"
external="$PWD/../3rdparty"

#--------------------------------------------------------------------------------------------------

@@ -21,11 +20,6 @@ MinGW_version="7.3.0"

make_arguments="-j 4"

#--------------------------------------------------------------------------------------------------
# Linux

lib64="/lib/x86_64-linux-gnu"

#--------------------------------------------------------------------------------------------------
# Syntax
#--------------------------------------------------------------------------------------------------
@@ -65,6 +59,8 @@ else
Qt="$external/Qt/$Qt5_version"
fi

qmake="$Qt/bin/qmake"

#--------------------------------------------------------------------------------------------------
# Clean
#--------------------------------------------------------------------------------------------------
@@ -124,16 +120,16 @@ elif [ $2 = "linux" ]; then
fi
fi

qmake --version
$qmake --version
echo ""

cd $build

if [ "$3" = "tools" ]; then

qmake -r -spec $spec "CONFIG += release" "TOOLS = true" $Sky
$qmake -r -spec $spec "CONFIG += release" "TOOLS = true" $Sky
else
qmake -r -spec $spec "CONFIG += release" $Sky
$qmake -r -spec $spec "CONFIG += release" $Sky
fi

echo ""

0 comments on commit d1e1064

Please sign in to comment.
You can’t perform that action at this time.