{
"build_script": ["cargo build"],
"environment": {
"matrix": [
{"target": "1.60.0-x86_64-pc-windows-msvc"},
{"target": "1.60.0-i686-pc-windows-msvc"},
{"target": "1.70.0-x86_64-pc-windows-msvc"},
{"target": "1.70.0-i686-pc-windows-msvc"},
{"target": "beta-x86_64-pc-windows-msvc"},
{"target": "beta-i686-pc-windows-msvc"},
{"target": "nightly-x86_64-pc-windows-msvc"},
{"target": "nightly-i686-pc-windows-msvc"},
{"target": "beta-x86_64-pc-windows-gnu"},
{"target": "beta-i686-pc-windows-gnu"}
]
},
"install": [
{
"ps": "Start-FileDownload \"https://static.rust-lang.org/dist/rust-${env:target}.msi\""
},
{
"ps": "msiexec /package \"rust-${env:target}.msi\" /quiet /norestart | Write-Output"
},
{
"ps": "$env:Path = [System.Environment]::GetEnvironmentVariable(\"Path\",\"Machine\")"
},
"rustc --version",
"cargo --version"
],
"test_script": ["cargo test"]
}