Actually use the cache instead of just storing it thousands of times #5528
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 dependencies | |
run: dotnet restore main/DMCompiler/DMCompiler.csproj | |
- name: Build | |
run: dotnet build main/DMCompiler/DMCompiler.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: 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 |