mirror of
https://github.com/actix/actix-web.git
synced 2024-11-29 13:01:09 +00:00
fix appveyor config for gnu target
This commit is contained in:
parent
a65fd695e1
commit
72c8ad9fe1
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,12 @@ environment:
|
||||||
# Install Rust and Cargo
|
# Install Rust and Cargo
|
||||||
# (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
|
# (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
|
||||||
install:
|
install:
|
||||||
|
- ps: >-
|
||||||
|
If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') {
|
||||||
|
$Env:PATH += ';C:\msys64\mingw64\bin'
|
||||||
|
} ElseIf ($Env:TARGET -eq 'i686-pc-windows-gnu') {
|
||||||
|
$Env:PATH += ';C:\MinGW\bin'
|
||||||
|
}
|
||||||
- curl -sSf -o rustup-init.exe https://win.rustup.rs
|
- curl -sSf -o rustup-init.exe https://win.rustup.rs
|
||||||
- rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y
|
- rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y
|
||||||
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
||||||
|
|
Loading…
Reference in a new issue