File: appveyor.yml

package info (click to toggle)
rakudo 2018.12-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 27,488 kB
  • sloc: perl: 6,578; ansic: 2,735; java: 2,528; cpp: 152; sh: 91; makefile: 29
file content (57 lines) | stat: -rw-r--r-- 1,549 bytes parent folder | download
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
# Builds and tests rakudo for different configurations
# For appveyor.yml syntax reference, please see
# https://www.appveyor.com/docs/appveyor-yml
#
# JVM is already preinstalled in build worker. Please see
# https://www.appveyor.com/docs/installed-software#java
#

# Platforms (e.g. x64, x86)
platform:
  - x64

# Operating system (build VM template)
os: Visual Studio 2015

configuration:
  - Release

# Monitored branches
branches:
  only:
    - master
    - /smoke-me/

# To stop automatic build of VS solution files
build: off

# Build configurations
environment:
  matrix:
    - RAKUDO_OPTIONS: --backends=moar --gen-nqp        --gen-moar
    - RAKUDO_OPTIONS: --backends=moar --gen-nqp=master --gen-moar
    - RAKUDO_OPTIONS: --backends=moar --gen-nqp=master --gen-moar=master
#    - RAKUDO_OPTIONS: --backends=jvm  --gen-nqp
#    - RAKUDO_OPTIONS: --backends=jvm  --gen-nqp=master

# Allow failures from certain build configuration
#matrix:
#  allow_failures:
#    - platform: x64
#      RAKUDO_OPTIONS: --backends=jvm  --gen-nqp
#    - platform: x64
#      RAKUDO_OPTIONS: --backends=jvm  --gen-nqp=master

# Installation
install:
  - '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'
  - appveyor-retry choco install strawberryperl --version 5.20.1.1 --allow-empty-checksums
  - SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
  - ECHO %RAKUDO_OPTIONS%
  - CD %APPVEYOR_BUILD_FOLDER%

# Testing
test_script:
  - perl Configure.pl %RAKUDO_OPTIONS%
  - nmake test
  - nmake install