forked from HaxeFoundation/intellij-haxe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (37 loc) · 1.23 KB
/
appveyor.yml
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
version: "{build}"
clone_folder: C:\projects\intellij-haxe
environment:
global:
HAXE_VERSION: 3.4.7
HAXE_ROOT: C:\projects\haxe
HAXELIB_ROOT: C:\projects\haxelib
matrix:
- IDEA_VERSION: 2016.3.8
- IDEA_VERSION: 2017.2.7
- IDEA_VERSION: 2017.3.5
- IDEA_VERSION: 2018.1.6
- IDEA_VERSION: 2019.3.5
- IDEA_VERSION: 2020.2
install:
# disable windows update service
- ps: Set-Service wuauserv -StartupType Manual
- cinst haxe --version=%HAXE_VERSION%
- RefreshEnv
- haxe -version
- mkdir "%HAXELIB_ROOT%"
- haxelib setup "%HAXELIB_ROOT%"
build_script:
- gradlew.bat buildPlugin verifyPlugin -PgenerateHxcppDebugger=false -PtargetVersion=%IDEA_VERSION%
artifacts:
path: intellij-haxe-*.jar
name: intellij-haxe.jar
test_script:
- gradlew.bat test -PgenerateHxcppDebugger=false -PtargetVersion=%IDEA_VERSION%
after_test:
# upload test results via rest-api
- ps: |
$wc = New-Object 'System.Net.WebClient'
Get-ChildItem . -Name -Recurse 'TEST-*.xml' |
Foreach-Object {
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_))
}