-
Notifications
You must be signed in to change notification settings - Fork 20
200 lines (177 loc) · 6.39 KB
/
addons_hb32_mingw_1420.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
#
# addons_hb32_mingw_1420.yml
#
# input: mingw_1420.zip
# input: hb32_mingw_1420.zip
# input: github sources
# output: addons_hb32_mingw_1420.zip
#
name: addons_hb32_mingw_1420
on:
# push:
schedule:
- cron: "0 4 1 * *"
workflow_dispatch:
inputs:
name:
description: 'addons_hb32_mingw_1420'
default: 'addons_hb32_mingw_1420'
required: true
jobs:
Build:
runs-on: windows-latest
steps:
- name: load mingw_1420.zip from workflow
uses: dawidd6/action-download-artifact@v6
with:
workflow: mingw_1420.yml
workflow_conclusion: success
name: mingw_1420
path: c:\temp
repo: JoseQuintas/sefazclass
- name: load hb32_mingw_1420.zip from workflow
uses: dawidd6/action-download-artifact@v6
with:
workflow: hb32_mingw_1420.yml
workflow_conclusion: success
name: hb32_mingw_1420
path: c:\temp
repo: JoseQuintas/sefazclass
- name: Unzip All
env:
PATH: c:\program files\7-zip
run: |
c:
7z x -y c:\temp\hb32_mingw_1420.7z -oc:\temp\harbour
md c:\temp\harbour\comp
7z x -y c:\temp\mingw_1420.7z -oc:\temp\harbour\comp
- name: Load Source Code
env:
REPO_SEFAZ: https://github.com/JoseQuintas/sefazclass
REPO_BOLETO: https://github.com/JoseQuintas/boletoclass
REPO_RMCHART: https://github.com/JoseQuintas/rmchartclass
REPO_WVGTEST: https://github.com/JoseQuintas/wvgtest
REPO_PDFCLASS: http://github.com/JoseQuintas/pdfclass
REPO_HWGUI: https://github.com/JoseQuintas/hwgui
REPO_HMGE: https://github.com/JoseQuintas/hmge
REPO_HMG3: https://github.com/JoseQuintas/hmg3
REPO_OOHG: https://github.com/JoseQuintas/oohg
REPO_OOHGSAMP: https://github.com/JoseQuintas/oohg/samples
REPO_DLGAUTO: https://github.com/JoseQuintas/dlgauto
PATH_SEFAZ: c:\temp\harbour\addons\sefazclass
PATH_BOLETO: c:\temp\harbour\addons\boletoclass
PATH_RMCHART: c:\temp\harbour\addons\rmchartclass
PATH_PDFCLASS: c:\temp\harbour\addons\pdfclass
PATH_WVGTEST: c:\temp\harbour\addons\wvgtest
PATH_HWGUI: c:\temp\harbour\addons\hwgui
PATH_HMGE: c:\temp\harbour\addons\hmge
PATH_HMG3: c:\temp\harbour\addons\hmg3
PATH_OOHG: c:\temp\harbour\addons\oohg
PATH_ZEPACK: c:\temp\harbour\addons\zepack
PATH_DLGAUTO: c:\temp\harbour\addons\dlgauto
run: |
c:
git clone $env:REPO_SEFAZ $env:PATH_SEFAZ --depth 1
git clone $env:REPO_BOLETO $env:PATH_BOLETO --depth 1
git clone $env:REPO_RMCHART $env:PATH_RMCHART --depth 1
git clone $env:REPO_WVGTEST $env:PATH_WVGTEST --depth 1
git clone $env:REPO_PDFCLASS $env:PATH_PDFCLASS --depth 1
git clone $env:REPO_HWGUI $env:PATH_HWGUI --depth 1
git clone $env:REPO_HMGE $env:PATH_HMGE --depth 1
git clone $env:REPO_HMG3 $env:PATH_HMG3 --depth 1
git clone $env:REPO_OOHG $env:PATH_OOHG --depth 1
git clone $env:REPO_OOHGSAMP $env:PATH_OOHG\SAMPLES --depth 1
git clone $env:REPO_DLGAUTO $env:PATH_DLGAUTO --depth 1
- name: Build All
env:
HB_BUILD_STRIP: all
HB_COMPILER: mingw
HB_INSTALL_PREFIX: c:\temp\harbour
HBMK_CMD: -workdir=c:\temp -q -quiet
PATH: c:\temp\harbour\bin;c:\temp\harbour\comp\mingw32\bin
run: |
c:
Write-Output ""
Write-Output ""
Write-Output "sefazclass"
Write-Output ""
cd c:\temp\harbour\addons\sefazclass
hbmk2 sefazclass.hbp -q -rebuild
Write-Output ""
Write-Output ""
Write-Output "boletoclass"
Write-Output ""
cd c:\temp\harbour\addons\boletoclass
hbmk2 boletoclass.hbp -q -rebuild
Write-Output ""
Write-Output ""
Write-Output "rmchartclass"
Write-Output ""
cd c:\temp\harbour\addons\rmchartclass
hbmk2 rmchartclass.hbp -q -rebuild
Write-Output ""
Write-Output ""
Write-Output "pdfclass"
Write-Output ""
cd c:\temp\harbour\addons\pdfclass
hbmk2 pdfclass.hbp -q -rebuild
Write-Output ""
Write-Output ""
Write-Output "wvgtest"
Write-Output ""
cd c:\temp\harbour\addons\wvgtest
hbmk2 wvgtest.hbp -q -rebuild
Write-Output ""
Write-Output ""
Write-Output "bostaurus"
Write-Output ""
cd c:\temp\harbour\addons\wvgtest\bostaurus
hbmk2 bostaurus.hbp -q -rebuild
Write-Output ""
Write-Output ""
Write-Output "hwgui"
Write-Output ""
cd c:\temp\harbour\addons\hwgui
hbmk2 hbxml.hbp -q -rebuild
hbmk2 hwgui.hbp -q -rebuild
hbmk2 hwgdebug.hbp -q -rebuild
hbmk2 procmisc.hbp -q -rebuild
Write-Output ""
Write-Output ""
Write-Output "hmge"
Write-Output ""
cd c:\temp\harbour\addons\hmge
hbmk2 hmge.hbp -q -rebuild
Write-Output ""
Write-Output ""
Write-Output "hmg3"
Write-Output ""
cd c:\temp\harbour\addons\hmg3
hbmk2 hmg3.hbp -q -rebuild
Write-Output ""
Write-Output ""
Write-Output "oohg"
Write-Output ""
cd c:\temp\harbour\addons\oohg
hbmk2 oohg.hbp -q -w0 -rebuild
Write-Output ""
Write-Output ""
Write-Output "test dlgauto"
Write-Output ""
cd c:\temp\harbour\addons\dlgauto\source
hbmk2 test hwgui.hbc -q -rebuild
hbmk2 test hmg3.hbc -q -rebuild
hbmk2 test hmge.hbc -q -rebuild
hbmk2 test oohg.hbc -q -rebuild
# hbmk2 test gtwvg.hbc -q -rebuild
- name: Create addons_hb32_mingw_1420.zip
env:
PATH: c:\program files\7-zip
run: |
c:
7z a -r c:\temp\addons_hb32_mingw_1420.7z c:\temp\harbour\addons\*.* -xr'!.git' -xr'!.github' -xr'!.hbmk'
- name: Save addons_hb32_mingw_1420
uses: actions/upload-artifact@v4
with:
name: addons_hb32_mingw_1420
path: c:\temp\addons_hb32_mingw_1420.7z