-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappveyor.yml
More file actions
102 lines (92 loc) · 2.63 KB
/
appveyor.yml
File metadata and controls
102 lines (92 loc) · 2.63 KB
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
version: '6.0.43.{BUILD}'
image: Visual Studio 2017
install:
- appveyor-retry choco install InnoSetup
- cd \
- set PATH=c:\ocide\bin;%PATH%;C:\Program Files (x86)\Inno Setup 6
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
- set PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%
- set ORIGPATH=%PATH%
- set ORANGEC=c:\ORANGEC
- set LADSOFT_DEV=c:\cc386
branches:
only:
- master
- split
- /v\d*\.\d*\.\d*\.\d*/
configuration:
- CLANG
- MSVC
- MS WITH PDB
for:
-
matrix:
only:
- configuration: MSVC
environment:
BUILD_PROFILE: MS
deploy:
release: Orange C IDE-$(APPVEYOR_REPO_TAG_NAME)
description: 'Current Release'
provider: GitHub
auth_token:
secure: gOXANm+uz1YSqzv6tHI8/UAlAbA/ofp6o1NNxA+dsVX/jnTZioWTVD3f8Q8S6Un7
artifact: /.*/
draft: false
prerelease: false
on:
branch: /v\d*\.\d*\.\d*\.\d*/
APPVEYOR_REPO_TAG: true
-
matrix:
only:
- configuration: CLANG
environment:
BUILD_PROFILE: CLANG
-
matrix:
only:
- configuration: MS WITH PDB
environment:
BUILD_PROFILE: MSDEBUGBUILD
MSPDB: YES
skip_commits:
files:
- '**/*.txt'
- '**/*.doc'
- '**/*.md'
- '**/*.html'
build_script:
# the appveyor virtual machine reported two processors, so, lets try running parallel compile!
- ps: |
cd ..\..
move projects\ocide .
mkdir \ocide\temp
cd ocide\src
copy omake.exe \ocide\temp
c:\ocide\appveyorversion.bat
if ($env:BUILD_PROFILE -eq "MSDEBUGBUILD")
{
# Build with Microsoft PDB files
c:\ocide\temp\omake /DCOMPILER=MS /DMSPDB=$env:MSPDB fullbuild -B
if ($LastExitCode -ne 0)
{
throw "error"
}
cd ..\src
}
else
{
# Primary build for Orange C
c:\ocide\temp\omake /DCOMPILER=$env:BUILD_PROFILE fullbuild -B -j:4
if ($LastExitCode -ne 0)
{
throw "error"
}
}
cd ..\..
move ocide projects
cd projects\ocide
artifacts:
- path: "dist\\*.zip"
name: releasefiles