summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azure-pipelines_windows.yml12
-rwxr-xr-xtools/ci/scripts/azure/mxeremovefiles.sh15
2 files changed, 23 insertions, 4 deletions
diff --git a/azure-pipelines_windows.yml b/azure-pipelines_windows.yml
index 26f4a83aa..f8bce2fbb 100644
--- a/azure-pipelines_windows.yml
+++ b/azure-pipelines_windows.yml
@@ -10,6 +10,8 @@ jobs:
./tools/ci/scripts/azure/mxetest.sh
cp ./dlls/* "$(Build.ArtifactStagingDirectory)"
cp ./src/*.exe "$(Build.ArtifactStagingDirectory)"
+ sudo ./tools/ci/scripts/azure/mxeremovefiles.sh
+ cp -rf . "$(Build.ArtifactStagingDirectory)"
ls "$(Build.ArtifactStagingDirectory)"
echo done
- task: PublishBuildArtifacts@1
@@ -21,14 +23,14 @@ jobs:
pool:
name: 'Hosted VS2017'
steps:
+ - checkout: none
- task: DownloadBuildArtifacts@0
inputs:
buildType: 'current'
project: 'ManaPlus'
artifactName: 'manaplus32'
- script: dir "$(Build.ArtifactStagingDirectory)\manaplus32"
- - script: copy "$(Build.ArtifactStagingDirectory)\manaplus32\*" .
- - script: type data\test\serverlistplus.xml
+ - script: xcopy /s "$(Build.ArtifactStagingDirectory)\manaplus32\*" .
- script: tools\ci\scripts\addextrafiles.cmd
- script: dir
- script: |
@@ -47,6 +49,8 @@ jobs:
./tools/ci/scripts/azure/mxetest.sh
cp ./dlls/* "$(Build.ArtifactStagingDirectory)"
cp ./src/*.exe "$(Build.ArtifactStagingDirectory)"
+ sudo ./tools/ci/scripts/azure/mxeremovefiles.sh
+ cp -rf . "$(Build.ArtifactStagingDirectory)"
ls "$(Build.ArtifactStagingDirectory)"
echo done
- task: PublishBuildArtifacts@1
@@ -58,14 +62,14 @@ jobs:
pool:
name: 'Hosted VS2017'
steps:
+ - checkout: none
- task: DownloadBuildArtifacts@0
inputs:
buildType: 'current'
project: 'ManaPlus'
artifactName: 'manaplus64'
- script: dir "$(Build.ArtifactStagingDirectory)\manaplus64"
- - script: copy "$(Build.ArtifactStagingDirectory)\manaplus64\*" .
- - script: type data\test\serverlistplus.xml
+ - script: xcopy /s "$(Build.ArtifactStagingDirectory)\manaplus64\*" .
- script: tools\ci\scripts\addextrafiles.cmd
- script: dir
- script: |
diff --git a/tools/ci/scripts/azure/mxeremovefiles.sh b/tools/ci/scripts/azure/mxeremovefiles.sh
new file mode 100755
index 000000000..455829137
--- /dev/null
+++ b/tools/ci/scripts/azure/mxeremovefiles.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+rm -rf .git
+rm -rf src
+rm -rf build
+rm -rf packaging
+rm -rf docs
+rm -rf po
+rm -rf dlls
+rm -rf m4
+rm -rf autom4te.cache
+rm -rf CMake
+rm -rf cppcheck
+rm -rf mana
+rm -rf nightly