-
Notifications
You must be signed in to change notification settings - Fork 113
100 lines (98 loc) · 3.47 KB
/
compiler-test.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
name: Compile Test Codebases
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout Main
uses: actions/checkout@v2
with:
path: main
- name: Setup submodule
run: |
cd main/
git submodule update --init --recursive
- name: Pull engine updates
uses: space-wizards/[email protected]
- name: Update Engine Submodules
run: |
cd main/RobustToolbox/
git submodule update --init --recursive
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.100
- name: Install compiler dependencies
run: dotnet restore main/DMCompiler/DMCompiler.csproj
- name: Install disassembler dependencies
run: dotnet restore main/DMDisassembler/DMDisassembler.csproj
- name: Build compiler
run: dotnet build main/DMCompiler/DMCompiler.csproj --property WarningLevel=0 --configuration Release --no-restore /m
- name: Build disassembler
run: dotnet build main/DMDisassembler/DMDisassembler.csproj --property WarningLevel=0 --configuration Release --no-restore /m
- name: Compile TestGame
run: main\bin\DMCompiler\DMCompiler.exe main\TestGame\environment.dme --suppress-unimplemented
- name: Checkout /tg/station Master
uses: actions/checkout@v2
with:
repository: tgstation/tgstation
ref: master
path: tg
- name: Compile /tg/station Master
run: main\bin\DMCompiler\DMCompiler.exe tg\tgstation.dme --suppress-unimplemented
- name: Disassemble /tg/station Master
run: main\bin\DMDisassembler\DMDisassembler.exe tg\tgstation.json crash-on-test
- name: Checkout Goonstation Master
uses: actions/checkout@v2
with:
repository: goonstation/goonstation
ref: master
path: goon
- name: Compile Goonstation Master
run: |
New-Item goon\+secret\__secret.dme -type file
main\bin\DMCompiler\DMCompiler.exe goon\goonstation.dme --suppress-unimplemented
- name: Checkout Paradise Master
uses: actions/checkout@v2
with:
repository: ParadiseSS13/Paradise
ref: master
path: para
- name: Compile Paradise Master
run: main\bin\DMCompiler\DMCompiler.exe para\paradise.dme --suppress-unimplemented
- name: Checkout Nebula Dev
uses: actions/checkout@v2
with:
repository: NebulaSS13/Nebula
ref: dev
path: nebula
- name: Compile Nebula Dev
run: main\bin\DMCompiler\DMCompiler.exe nebula\nebula.dme --suppress-unimplemented
- name: Checkout /vg/station Master
uses: actions/checkout@v2
with:
repository: vgstation-coders/vgstation13
ref: Bleeding-Edge
path: vg
- name: Compile /vg/station Master
run: main\bin\DMCompiler\DMCompiler.exe vg\vgstation13.dme --suppress-unimplemented
- name: Checkout CM Master
uses: actions/checkout@v2
with:
repository: cmss13-devs/cmss13
ref: master
path: cm
- name: Compile CM Master
run: main\bin\DMCompiler\DMCompiler.exe cm\colonialmarines.dme --suppress-unimplemented
- name: Checkout Aurora Master
uses: actions/checkout@v2
with:
repository: Aurorastation/Aurora.3
ref: master
path: aurora
- name: Compile Aurora Master
run: main\bin\DMCompiler\DMCompiler.exe aurora\aurorastation.dme --suppress-unimplemented