Skip to content

Commit d3d649b

Browse files
authored
Test binary with ACE3 and CBA A3 mods (#10)
1 parent 701f54d commit d3d649b

3 files changed

Lines changed: 122 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 89 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,22 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6-
windows:
6+
test-configs:
7+
name: Archive test configs
8+
runs-on: ubuntu-20.04
9+
steps:
10+
- name: Git checkout
11+
uses: actions/checkout@v2
12+
13+
- name: Archive test configs
14+
uses: actions/upload-artifact@v2
15+
with:
16+
name: test configs
17+
path: test/*.json
18+
if-no-files-found: error
19+
20+
windows-build:
21+
name: Windows build
722
runs-on: windows-2019
823
steps:
924
- name: Git checkout
@@ -19,3 +34,76 @@ jobs:
1934
with:
2035
name: Windows x64
2136
path: Release
37+
if-no-files-found: error
38+
39+
windows-test-ace3:
40+
name: Windows test ACE3
41+
runs-on: windows-2019
42+
needs:
43+
- test-configs
44+
- windows-build
45+
steps:
46+
- name: Git checkout ACE3
47+
uses: actions/checkout@v2
48+
with:
49+
repository: acemod/ACE3
50+
path: z/ace
51+
52+
- name: Git checkout CBA A3
53+
uses: actions/checkout@v2
54+
with:
55+
repository: CBATeam/CBA_A3
56+
path: x/cba
57+
58+
- name: Download test configs
59+
uses: actions/download-artifact@v2
60+
with:
61+
name: test configs
62+
63+
- name: Download ArmaScriptCompiler artifact
64+
uses: actions/download-artifact@v2
65+
with:
66+
name: Windows x64
67+
68+
- name: Setup build folder
69+
run: |
70+
xcopy z\ace\include\a3 a3 /s /e /h /i
71+
copy ace3.json sqfc.json
72+
73+
- name: Compile ACE3
74+
run: |
75+
subst P: .
76+
Release\ArmaScriptCompiler.exe
77+
78+
windows-test-cba-a3:
79+
name: Windows test CBA A3
80+
runs-on: windows-2019
81+
needs:
82+
- test-configs
83+
- windows-build
84+
steps:
85+
- name: Git checkout CBA A3
86+
uses: actions/checkout@v2
87+
with:
88+
repository: CBATeam/CBA_A3
89+
path: x/cba
90+
91+
- name: Download test configs
92+
uses: actions/download-artifact@v2
93+
with:
94+
name: test configs
95+
96+
- name: Download ArmaScriptCompiler artifact
97+
uses: actions/download-artifact@v2
98+
with:
99+
name: Windows x64
100+
101+
- name: Setup build folder
102+
run: |
103+
xcopy x\cba\include\a3 a3 /s /e /h /i
104+
copy cba_a3.json sqfc.json
105+
106+
- name: Compile CBA A3
107+
run: |
108+
subst P: .
109+
Release\ArmaScriptCompiler.exe

test/ace3.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"inputDirs": [
3+
"P:/z/ace/addons/"
4+
],
5+
"includePaths": [
6+
"P:/"
7+
],
8+
"excludeList": [
9+
],
10+
"outputDir": "P:/",
11+
"workerThreads": 6
12+
}

test/cba_a3.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"inputDirs": [
3+
"P:/x/cba/addons/"
4+
],
5+
"includePaths": [
6+
"P:/"
7+
],
8+
"excludeList": [
9+
"\\initsettings.sqf",
10+
"\\initkeybinds.sqf",
11+
"\\xeh_prep.sqf",
12+
"\\backwards_comp.sqf",
13+
"settings\\gui_createcategory.sqf",
14+
"diagnostic\\fnc_initextendeddebugconsole.sqf",
15+
"xeh\\fnc_initdisplay.sqf",
16+
"xeh\\fnc_startloadingscreen.sqf",
17+
"xeh\\fnc_endloadingscreen.sqf"
18+
],
19+
"outputDir": "P:/",
20+
"workerThreads": 6
21+
}

0 commit comments

Comments
 (0)