Skip to content

Commit

Permalink
Clean up .appveyor.yml (#1288)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelkryukov authored Apr 11, 2020
1 parent 20197fc commit ab1c94a
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,27 @@ environment:
configuration: Release
CMAKEFILE: "Visual Studio 15 Win64"
- build: msvc
platform: x86
platform: Win32
configuration: Release
CMAKEFILE: "Visual Studio 15"
- build: g++
platform: x86
MSYSTEM: mingw64
configuration: Release
CMAKEFILE: "Ninja"
- build: g++
platform: x64
MSYSTEM: mingw32
configuration: Release
CMAKEFILE: "Ninja"

install:
- if "%configuration%"=="Debug" choco install opencppcoverage codecov
- if "%platform%"=="x86" set MSYSTEM=mingw32
- if "%platform%"=="x64" set MSYSTEM=mingw64
- set PATH=C:\projects\deps\ninja;C:\msys64\%MSYSTEM%;C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin\;C:\Libraries\boost_1_67_0;C:\Program Files\OpenCppCoverage;%PATH%

before_build:
- git submodule update --init
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=%platform%
- if "%platform%"=="x86" set platform=Win32 # oh dear

build_script:
- mkdir build
- cd build
- mkdir build && cd build
- cmake ../simulator -G "%CMAKEFILE%" -DENABLE_COVERAGE=1
- if not "%build%"=="msvc" bash -lc "cd /c/projects/mipt-mips/build; ninja mipt-mips unit-tests cachesim"
- if "%build%"=="msvc" MSBuild .\mipt-mips.sln /p:Configuration=%configuration% /p:Platform=%platform% /nologo /m /verbosity:minimal
Expand Down

0 comments on commit ab1c94a

Please sign in to comment.