summaryrefslogtreecommitdiff
path: root/azure-pipelines_windows.yml
diff options
context:
space:
mode:
Diffstat (limited to 'azure-pipelines_windows.yml')
-rw-r--r--azure-pipelines_windows.yml12
1 files changed, 8 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: |