dmd/.azure-pipelines/windows.yml
Martin Kinkelin b5fb3b1eb8
Azure CI: Avoid deprecated compiler/src/win{32,64}.mak Makefiles (#15835)
* Azure CI: Avoid deprecated compiler/src/win{32,64}.mak Makefiles

Using build.d directly instead.

* Azure CI: Fix MODEL=32omf job
2023-11-21 10:16:02 +02:00

22 lines
775 B
YAML

steps:
- script: |
:: Use Windows CRLF line endings for checked-out text files
git config --global core.autocrlf true
set
displayName: Print environment variables
- checkout: self
fetchDepth: 1
- script: |
@echo on
call "%VSINSTALLDIR%\VC\Auxiliary\Build\vcvarsall.bat" %ARCH%
bash --version
bash --login .azure-pipelines/windows.sh
displayName: Build and test
# Try to upload the coverage files from the previous step to CodeCov
# This job is allowed to fail s.t. it does not block PR's in case of
# environmental issues
- script: bash --login -c "OS_NAME=windows source ci/codecov.sh"
displayName: "Upload coverage report"
condition: eq( variables.DMD_TEST_COVERAGE, 1)
continueOnError: true