Commit 6d565211 authored by Rory OConnell's avatar Rory OConnell

update CI settings for Windows

parent b1017b26
...@@ -101,6 +101,3 @@ jobs: ...@@ -101,6 +101,3 @@ jobs:
rake -E "STDOUT.sync=true" -m -j4 test rake -E "STDOUT.sync=true" -m -j4 test
env: env:
MRUBY_CONFIG: appveyor_config.rb MRUBY_CONFIG: appveyor_config.rb
# TODO(take-cheeze): Re-enable /O2
CFLAGS: "/c /nologo /W3 /we4013 /Zi /MD /D_CRT_SECURE_NO_WARNINGS"
CXXFLAGS: "/c /nologo /W3 /Zi /MD /EHs /D_CRT_SECURE_NO_WARNINGS"
version: "{build}" version: "{build}"
os: Visual Studio 2017 os: Visual Studio 2019
shallow_clone: true shallow_clone: true
environment: environment:
matrix: matrix:
# Visual Studio 2019 64bit
- visualcpp: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
# Visual Studio 2019 32bit
- visualcpp: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat
machine: x86
# Visual Studio 2017 64bit # Visual Studio 2017 64bit
- visualcpp: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat - visualcpp: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat
...@@ -25,15 +32,14 @@ environment: ...@@ -25,15 +32,14 @@ environment:
- visualcpp: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat - visualcpp: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat
machine: amd64 machine: amd64
init: init:
- call "%visualcpp%" %machine% - call "%visualcpp%" %machine%
# For using Rubyinstaller's Ruby 2.4 64bit # For using Rubyins4aller's Ruby 2.6 64bit
- set PATH=C:\Ruby24-x64\bin;%PATH% # 2.6 is the highest supported Ruby version across all historical
# Visual Studio AppVeyor images. Ruby 2.7 is only on the 2019 image.
- set PATH=C:\Ruby26-x64\bin;%PATH%
- ruby --version - ruby --version
build_script: build_script:
- set MRUBY_CONFIG=appveyor_config.rb - set MRUBY_CONFIG=appveyor_config.rb
- rake -m - rake -E "$stdout.sync=true" -m -j4 test
- rake -E $stdout.sync=true test
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment