forked from jacob-carlborg/dstep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
65 lines (55 loc) · 1.17 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
platform:
- x64
- x86
configuration:
- LLVM 8.0.0
- LLVM 7.0.0
- LLVM 6.0.0
environment:
DVersion: stable
matrix:
- d: dmd
- d: ldc
init:
- ps: $env:LLVM_VERSION = $env:CONFIGURATION.split(" ")[1]
- ps: |
$env:arch = if ($env:PLATFORM -eq 'x86')
{
if ($env:d -eq 'dmd') { 'x86_mscoff' } else { 'x86' }
}
else
{
'x86_64'
}
install:
- ps: tools/install_dc.ps1
- ps: dub tools/download_llvm.d --arch=$env:arch
- cp tmp/clang/bin/libclang.dll .
- cp tmp/clang/bin/libclang.dll tests/functional/test_package
build_script:
- echo dummy build script - dont remove me
before_test:
- echo dummy test script - dont remove me
test_script:
- ps: |
if ($env:APPVEYOR_REPO_TAG -eq 'true')
{
tools/build_release.ps1
}
else
{
dub test --verror --arch=$env:arch --compiler=$env:DC
}
artifacts:
- path: dstep*.7z
deploy:
description: ''
provider: GitHub
auth_token:
secure: 75htvSwus8XM6rUYfMqHMyEzHfqd8vmVjZ3bhg8OyFf2kGlMEFt5GmLVa3Pc9hhu
artifact: /dstep.+\.7z/
draft: true
on:
appveyor_repo_tag: true
configuration: LLVM 8.0.0
d: ldc