aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.yml
blob: fa6b6dc909bababc86fc1aeef9a1f5145ddbf6b5 (plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# =============================================================================
# General configuration
# =============================================================================
# Virtual Machine Image
image: Visual Studio 2019
# Build names
version: '{branch}-{build}'
# Branches to build
branches:
  except:
    - travis
skip_tags: true

# =============================================================================
# Build matrix configuration
# =============================================================================
environment:
  matrix:
    - BUILD_MINGW: mingw32
      BUILD_BACKEND: mcode
# Not yet functionnal
#    - BUILD_MINGW: mingw32
#      BUILD_BACKEND: llvm
# mcode is not yet supported on Win64
#    - BUILD_MINGW: mingw64
#      BUILD_BACKEND: mcode
    - BUILD_MINGW: mingw64
      BUILD_BACKEND: llvm

# =============================================================================
# Build flow configuration
# =============================================================================
# initialization scripts to run
init:
  - ps: Write-Host "Initializing virtual machine ..."
  - ps: $env:PATH = "C:\msys64\$($env:BUILD_MINGW)\bin;C:\msys64\usr\bin;" + $env:PATH
#  - ps: Import-Module .\scripts\appveyor\shared.psm1 -Verbose

# installation scripts to run
install:
  - ps: .\scripts\windows\appveyor\install.ps1
  - ps: .\scripts\windows\appveyor\info.ps1

# Build flow
# Disable MSBuild
build: off
# build scripts to run
build_script:
  - ps: .\scripts\windows\appveyor\build.ps1

# Test flow
# test scripts to run
test_script:
  - ps: .\scripts\windows\appveyor\test.ps1