aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.yml
blob: ddb40d297e96d04244e478989469f501f86a8eaa (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# ==============================================================================
# General configuration
# ==============================================================================
# Virtual Machine Image
image: WMF 5
# Build names
version: 0.34-dev-{build}
# Branches to build
# branches:
#   only:
#     - master
#     - paebbels/appveyor

# ==============================================================================
# Build matrix configuration
# ==============================================================================
environment:
#  global:
#    connection_string: server=12;password=13;
#    service_url: https://127.0.0.1:8090
#
  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

# clone_folder: c:\projects\ghdl

# ==============================================================================
# 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 .\dist\appveyor\shared.psm1 -Verbose

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

# Build flow
# --------------------------------------
# scripts to run before builds
before_build:
  - ps: .\dist\windows\appveyor\configure.ps1

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

# scripts to run after builds
#after_build:

# Test flow
# --------------------------------------
# scripts to run before tests
before_test:
  - ps: .\dist\windows\appveyor\setup.ps1

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

# scripts to run after tests
#after_test:

# ==============================================================================
# Deployment configuration
# ==============================================================================
#deploy:
#  - provider: GitHub
#    release: GHDL-v$(appveyor_build_version)
#    description: 'Release description'
#    draft: false
#    prerelease: false
#    on:
#      branch: master
#      appveyor_repo_tag: true
#    auth_token:
#      secure: 7K/sSRV3kBk/Iw/d1NGd0pAv9Qf0+lGba3UWt9RDLcIsM8binjC2ogPINilWfy46
#  - provider: Environment
#    name: GitHub Paebbels/ghdl
#    on:
#      branch: master


# scripts to run before deployment
#before_deploy:

# deployment scripts to run
#deploy_script:

# scripts to run after deployment
#after_deploy: