-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
35 lines (26 loc) · 876 Bytes
/
appveyor.yml
File metadata and controls
35 lines (26 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: 1.0.{build}
image:
- Visual Studio 2019
platform:
- x64
configuration:
- Debug
- Release
environment:
BUILD_PATH: $(platform)\$(configuration)
matrix:
- arch: x64
compiler: msvc2019
PREMAKE_GENERATOR: vs2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
before_build:
- cmd: dotnet --version
- cmd: "configure-%PREMAKE_GENERATOR%.bat"
build_script:
- cmd: nuget restore "build-%PREMAKE_GENERATOR%/bifrost.sln"
- cmd: msbuild "build-%PREMAKE_GENERATOR%/bifrost.sln" /p:Configuration="%CONFIGURATION%" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
test_script:
# Run gtest C++ unit tests
- ps: .\ci\unit_tests.ps1 "build-$($env:PREMAKE_GENERATOR)/bin/$($env:CONFIGURATION)"
# Run C# XUnit tests
- cmd: dotnet test "source/compiler/Compiler.Test/compiler_test.csproj"