1# =============================================================================
2# General configuration
3# =============================================================================
4# Virtual Machine Image
5image: Visual Studio 2019
6# Build names
7version: '{branch}-{build}'
8# Branches to build
9branches:
10  except:
11    - travis
12skip_tags: true
13
14# =============================================================================
15# Build matrix configuration
16# =============================================================================
17environment:
18  matrix:
19    - BUILD_MINGW: mingw32
20      BUILD_BACKEND: mcode
21# Not yet functionnal
22#    - BUILD_MINGW: mingw32
23#      BUILD_BACKEND: llvm
24# mcode is not yet supported on Win64
25#    - BUILD_MINGW: mingw64
26#      BUILD_BACKEND: mcode
27    - BUILD_MINGW: mingw64
28      BUILD_BACKEND: llvm
29
30# =============================================================================
31# Build flow configuration
32# =============================================================================
33# initialization scripts to run
34init:
35  - ps: Write-Host "Initializing virtual machine ..."
36  - ps: $env:PATH = "C:\msys64\$($env:BUILD_MINGW)\bin;C:\msys64\usr\bin;" + $env:PATH
37#  - ps: Import-Module .\scripts\appveyor\shared.psm1 -Verbose
38
39# installation scripts to run
40install:
41  - ps: .\scripts\windows\appveyor\install.ps1
42  - ps: .\scripts\windows\appveyor\info.ps1
43
44# Build flow
45# Disable MSBuild
46build: off
47# build scripts to run
48build_script:
49  - ps: .\scripts\windows\appveyor\build.ps1
50
51# Test flow
52# test scripts to run
53test_script:
54  - ps: .\scripts\windows\appveyor\test.ps1
55