Skip to content
Snippets Groups Projects
Commit 7507f5d1 authored by gnzlbg's avatar gnzlbg
Browse files

Add windows targets

parent 1e121314
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,28 @@ jobs:
i686-apple-darwin:
TARGET: i686-apple-darwin
- job: Windows
pool:
vmImage: vs2017-win2016
steps:
- template: ci/azure-install-rust.yml
- bash: sh ./ci/run.sh $TARGET
displayName: Execute run.sh
strategy:
matrix:
x86_64-pc-windows-gnu:
TARGET: x86_64-pc-windows-gnu
MSYS_BITS: 64
ARCH: x86_64
x86_64-pc-windows-msvc:
TARGET: x86_64-pc-windows-msvc
i686-pc-windows-gnu:
TARGET: i686-pc-windows-gnu
MSYS_BITS: 32
ARCH: i686
i686-pc-windows-msvc:
TARGET: i686-pc-windows-msvc
- job: StyleAndDocs
pool:
vmImage: ubuntu-16.04
......
......@@ -31,6 +31,9 @@ steps:
- script: if defined TARGET rustup target add %TARGET%
condition: eq( variables['Agent.OS'], 'Windows_NT' )
displayName: Install target (windows)
- script: if defined MSYS_BITS for %%I in (crt2.o dllcrt2.o libmsvcrt.a) do xcopy /Y "C:\msys64\mingw%MSYS_BITS%\%ARCH%-w64-mingw32\lib\%%I" "C:\Program Files (x86)\Rust\lib\rustlib\%TARGET%\lib"
condition: eq( variables['Agent.OS'], 'Windows_NT' )
displayName: Fix MinGW (windows)
- script: |
set -ex
rustc -Vv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment