Skip to content

Commit aa4d9b7

Browse files
authored
Build the whole solution files
1 parent a091302 commit aa4d9b7

File tree

1 file changed

+73
-4
lines changed

1 file changed

+73
-4
lines changed

.github/workflows/Build ThunderOnWindows.yml

Lines changed: 73 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,77 @@ on:
77
pull_request:
88
branches: ["master"]
99

10-
# CHANGE TO RDKCENTRAL
11-
# CHANGE TO MASTER
10+
env:
11+
devEnv: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.com
12+
solution: Thunder.sln
13+
1214
jobs:
13-
ThunderClientLibraries:
14-
uses: VeithMetro/Thunder/.github/workflows/Build Thunder on Windows.yml@development/actions-thunderonwindows
15+
ThunderOnWindows:
16+
runs-on: windows-latest
17+
18+
strategy:
19+
matrix:
20+
type: [Debug, Release]
21+
version: [64, 86]
22+
23+
name: Build type - ${{matrix.type}}${{matrix.version}}
24+
steps:
25+
- name: Checkout ThunderOnWindows
26+
uses: actions/checkout@v3
27+
with:
28+
path: ThunderOnWindows
29+
repository: WebPlatformForEmbedded/ThunderOnWindows
30+
31+
- name: Checkout Thunder
32+
uses: actions/checkout@v3
33+
with:
34+
path: ThunderOnWindows/Thunder
35+
repository: rdkcentral/Thunder
36+
37+
- name: Checkout ThunderTools
38+
uses: actions/checkout@v3
39+
with:
40+
path: ThunderOnWindows/ThunderTools
41+
repository: rdkcentral/ThunderTools
42+
43+
- name: Checkout ThunderClientLibraries
44+
uses: actions/checkout@v3
45+
with:
46+
path: ThunderOnWindows/ThunderClientLibraries
47+
repository: rdkcentral/ThunderClientLibraries
48+
49+
- name: Checkout ThunderInterfaces
50+
uses: actions/checkout@v3
51+
with:
52+
path: ThunderOnWindows/ThunderInterfaces
53+
repository: rdkcentral/ThunderInterfaces
54+
55+
- name: Checkout ThunderNanoServices
56+
uses: actions/checkout@v3
57+
with:
58+
path: ThunderOnWindows/ThunderNanoServices
59+
repository: rdkcentral/ThunderNanoServices
60+
61+
- name: Checkout ThunderNanoServicesRDK
62+
uses: actions/checkout@v3
63+
with:
64+
path: ThunderOnWindows/ThunderNanoServicesRDK
65+
repository: WebPlatformForEmbedded/ThunderNanoServicesRDK
66+
67+
- name: Install jsonref
68+
run: pip install jsonref
69+
70+
- name: Build ThunderOnWindows
71+
shell: cmd
72+
run: |
73+
cd ThunderOnWindows
74+
"%devEnv%" /Build "${{matrix.type}}|x${{matrix.version}}" "%solution%"
75+
76+
- name: Tar files
77+
run: tar -czvf ${{matrix.type}}${{matrix.version}}.tar.gz artifacts
78+
79+
- name: Upload
80+
uses: actions/upload-artifact@v3
81+
with:
82+
name: Thunder-${{matrix.type}}${{matrix.version}}-artifact
83+
path: ${{matrix.type}}${{matrix.version}}.tar.gz

0 commit comments

Comments
 (0)