-
Notifications
You must be signed in to change notification settings - Fork 39
/
appveyor.yml
137 lines (128 loc) · 3.4 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
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
version: '6.73.{BUILD}'
image: Visual Studio 2022
install:
- appveyor-retry choco install InnoSetup
- git clone https://github.com/c-testsuite/c-testsuite.git
- copy c-testsuite\tests\single-exec tests\c-testsuite > NUL
- cd \
- 7z x projects\orangec\src\cc386.zip *
- set PATH=c:\orangec\bin;c:\cc386\bin;%PATH%;C:\Program Files (x86)\Inno Setup 6
- call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars32.bat"
- set PATH=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;%PATH%
- set ORANGEC=c:\ORANGEC
- set LADSOFT_DEV=c:\cc386
branches:
only:
- master
- /v\d*\.\d*\.\d*/
configuration:
- MSVC THEN LIBCXX TEST
- MSVC THEN WITH STATIC LIB
- MINGW64 THEN WITH STATIC LIB
- CLANG THEN WITH STATIC LIB
- MSVC THEN WITH LSCRTL
- MSVC THEN VIA ASSEMBLY
- MSVC THEN WITH DEBUG
- CODE ANALYZER TEST
- MSIL COMPILER
- MSVC WITH PDB
for:
-
matrix:
only:
- configuration: MSVC THEN WITH STATIC LIB
environment:
BUILD_PROFILE: MS
TESTS: TRUE
deploy:
release: Orange C-$(APPVEYOR_REPO_TAG_NAME)
description: 'Current Release'
provider: GitHub
auth_token:
secure: L2Uw6o1Msz3bAsw+p2n9bjxJqqtuP+7YuJNaWtpsRnWZ3JWDjkULQG6c6YRPk+v+
artifact: /.*/
draft: false
prerelease: false
on:
branch: /v\d*\.\d*\.\d*/
APPVEYOR_REPO_TAG: true
-
matrix:
only:
- configuration: MINGW64 THEN WITH STATIC LIB
environment:
BUILD_PROFILE: MINGW64
-
matrix:
only:
- configuration: CLANG THEN WITH STATIC LIB
environment:
BUILD_PROFILE: CLANG
-
matrix:
only:
- configuration: MSIL COMPILER
environment:
BUILD_PROFILE: OCCIL
-
matrix:
only:
- configuration: MSVC WITH PDB
environment:
BUILD_PROFILE: MSDEBUGBUILD
MSPDB: YES
-
matrix:
only:
- configuration: MSVC THEN VIA ASSEMBLY
environment:
BUILD_PROFILE: MS
VIAASSEMBLY: YES
-
matrix:
only:
- configuration: MSVC THEN WITH LSCRTL
environment:
BUILD_PROFILE: MS
LSCRTL: YES
TESTS: TRUE
-
matrix:
only:
- configuration: MSVC THEN WITH DEBUG
environment:
BUILD_PROFILE: MS
WITHDEBUG: YES
TESTS: TRUE
-
matrix:
only:
- configuration: CODE ANALYZER TEST
environment:
BUILD_PROFILE: CODEANALYZER
-
matrix:
only:
- configuration: MSVC THEN LIBCXX TEST
environment:
BUILD_PROFILE: LIBCXXTEST
skip_commits:
files:
- '**/*.txt'
- '**/*.doc'
- '**/*.md'
- '**/*.html'
build_script:
# the appveyor virtual machine reported two processors, so, lets try running parallel compile!
- cmd: |
cd ..\..
move projects\orangec .
mkdir \orangec\temp
cd orangec\src
call build.bat
cd ..\..
move orangec projects
cd projects\orangec
artifacts:
- path: "dist\\*.*"
name: releasefiles