jobs: - job: mxe_32_build pool: name: 'Hosted Ubuntu 1604' steps: - script: | uname -a export BITS=32 export CROSS="i686-w64-mingw32.shared" ./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 env: GITLABTOKEN: $(gitlabtoken) - task: PublishBuildArtifacts@1 inputs: artifactName: manaverse32 - job: mxe_32_test dependsOn: mxe_32_build pool: name: 'Hosted VS2017' steps: - checkout: none - task: DownloadBuildArtifacts@0 inputs: buildType: 'current' project: 'ManaVerse' artifactName: 'manaverse32' - script: dir "$(Build.ArtifactStagingDirectory)\manaverse32" - script: xcopy /s "$(Build.ArtifactStagingDirectory)\manaverse32\*" . - script: tools\ci\scripts\addextrafiles.cmd - script: dir - script: | set SDL_VIDEODRIVER=dummy echo run manaversetests.exe - job: mxe_64_build pool: name: 'Hosted Ubuntu 1604' steps: - script: | uname -a export BITS=64 export CROSS="x86_64-w64-mingw32.shared" ./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 env: GITLABTOKEN: $(gitlabtoken) - task: PublishBuildArtifacts@1 inputs: artifactName: manaverse64 - job: mxe_64_test dependsOn: mxe_64_build pool: name: 'Hosted VS2017' steps: - checkout: none - task: DownloadBuildArtifacts@0 inputs: buildType: 'current' project: 'ManaVerse' artifactName: 'manaverse64' - script: dir "$(Build.ArtifactStagingDirectory)\manaverse64" - script: xcopy /s "$(Build.ArtifactStagingDirectory)\manaverse64\*" . - script: tools\ci\scripts\addextrafiles.cmd - script: dir - script: | set SDL_VIDEODRIVER=dummy echo run manaversetests.exe