diff --git a/appveyor.yml b/appveyor.yml index 5e972bf..e6ff0c5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,6 @@ platform: - x64 + - x86 os: MinGW environment: matrix: @@ -10,17 +11,21 @@ install: - if "%PLATFORM%" == "x86" SET RUST_PLATFORM=i686-pc-windows-gnu - if "%PLATFORM%" == "x64" SET RUST_PLATFORM=x86_64-pc-windows-gnu - if "%PLATFORM%" == "x86" SET MSYSTEM=MINGW32 - - if "%PLATFORM%" == "x64" SET "PATH=C:\msys64\usr\bin;C:\msys64\mingw32\bin;%PATH%" + - if "%PLATFORM%" == "x86" SET PATH=C:\msys64\mingw32\bin;C:\msys64\usr\bin;%PATH% - if "%PLATFORM%" == "x64" SET MSYSTEM=MINGW64 - - if "%PLATFORM%" == "x64" SET "PATH=C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH%" + - if "%PLATFORM%" == "x64" SET PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH% - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUST_VERSION}-${env:RUST_PLATFORM}.exe" -FileName rust-installer.exe - - rust-installer.exe /VERYSILENT /NORESTART /COMPONENTS="rust,cargo,std" /DIR="C:\Rust" + - rust-installer.exe /VERYSILENT /NORESTART /DIR="C:\Rust" + - del /Q C:\Rust\bin\rustlib\%RUST_PLATFORM%\bin - SET PATH=%PATH%;C:\Rust\bin - rustc -V - cargo -V - if "%PLATFORM%" == "x64" C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-x86_64-gtk3" - if "%PLATFORM%" == "x86" C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S mingw-w64-i686-gtk3" + - C:\msys64\usr\bin\bash -lc "gcc --version" + - C:\msys64\usr\bin\bash -lc "which gcc" + - C:\msys64\usr\bin\bash -lc "which ld" build_script: - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && cargo build --verbose"