-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 868-WorldTick
- Loading branch information
Showing
672 changed files
with
35,594 additions
and
22,176 deletions.
There are no files selected for viewing
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
labelPRBasedOnFilePath: | ||
Client: | ||
- OpenDreamClient/**/* | ||
- OpenDreamShared/**/* | ||
Runtime: | ||
- OpenDreamRuntime/**/* | ||
- OpenDreamServer/**/* | ||
- OpenDreamShared/**/* | ||
Compiler: | ||
- DMCompiler/**/* | ||
- DMDisassembler/**/* |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,34 +18,85 @@ jobs: | |
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: 7.0.101 | ||
- name: Install dependencies | ||
run: dotnet restore main/OpenDream.sln | ||
- name: Build | ||
run: dotnet build main/OpenDream.sln --configuration Release --no-restore /m | ||
dotnet-version: 9.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 | ||
- name: Checkout Modified /tg/station | ||
run: main\bin\DMCompiler\DMCompiler.exe main\TestGame\environment.dme --suppress-unimplemented | ||
- name: Compile TestGame in directory | ||
run: | | ||
cd main\TestGame\ | ||
..\bin\DMCompiler\DMCompiler.exe environment.dme --suppress-unimplemented | ||
- name: Checkout /tg/station Master | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: wixoaGit/tgstation | ||
repository: tgstation/tgstation | ||
ref: master | ||
path: tg | ||
- name: Compile Modified /tg/station | ||
run: main\bin\DMCompiler\DMCompiler.exe tg\tgstation.dme | ||
- name: Checkout 64-bit Paradise | ||
- 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: ike709/Paradise | ||
ref: rustg_64 | ||
repository: ParadiseSS13/Paradise | ||
ref: master | ||
path: para | ||
- name: Compile 64-bit Paradise | ||
run: main\bin\DMCompiler\DMCompiler.exe para\paradise.dme | ||
- 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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Lint | ||
|
||
on: | ||
pull_request: | ||
branches: [master] | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
|
||
jobs: | ||
lint: | ||
if: github.event.pull_request.draft == false | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup submodule | ||
run: | | ||
git submodule update --init --recursive | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 9.0.100 | ||
- name: Setup Resharper | ||
run: dotnet tool install -g JetBrains.ReSharper.GlobalTools | ||
- name: Run Linter | ||
run: jb inspectcode OpenDream.sln -o="output.json" --project="OpenDream*;DM*" --no-swea | ||
- uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
sarif_file: output.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check for Merge Conflicts | ||
uses: eps1lon/actions-label-merge-conflict@513a24fc7dca40990863be2935e059e650728400 | ||
uses: eps1lon/actions-label-merge-conflict@v3.0.2 | ||
with: | ||
dirtyLabel: "Merge Conflict" | ||
repoToken: "${{ secrets.GITHUB_TOKEN }}" | ||
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request." | ||
- name: Apply Size Label | ||
if: (github.event_name == 'pull_request_target' && github.head_ref != 'refs/heads/master') | ||
uses: pascalgn/[email protected] | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
|
This file was deleted.
Oops, something went wrong.
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
10 changes: 10 additions & 0 deletions
10
Content.IntegrationTests/DMProject/Tests/atom_appearance.dm
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/obj/thingtocopy | ||
name = "hello" | ||
desc = "this is a thing" | ||
|
||
/proc/test_appearance() | ||
var/obj/thingtocopy/T = new() | ||
var/obj/otherthing = new() | ||
otherthing.appearance = T.appearance | ||
ASSERT(otherthing.name == T.name) | ||
ASSERT(otherthing.desc == T.desc) |
16 changes: 16 additions & 0 deletions
16
Content.IntegrationTests/DMProject/Tests/filter_initial.dm
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/obj/blurry | ||
filters = filter(type="blur", size=2) | ||
|
||
/obj/veryblurry | ||
filters = list(type="blur", size=4) | ||
|
||
/obj/notatallblurry | ||
filters = list() | ||
|
||
/proc/test_filter_init() | ||
var/obj/veryblurry/VB = new() | ||
ASSERT(length(VB.filters) == 1) | ||
var/obj/blurry/B = new() | ||
ASSERT(length(B.filters) == 1) | ||
var/obj/notatallblurry/NAB = new() | ||
ASSERT(length(NAB.filters) == 0) |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/image/subclass | ||
plane = 123 | ||
icon_state = "subclass" | ||
|
||
/proc/test_images() | ||
ASSERT(image('icons.dmi', "mob") != null) | ||
|
||
var/image/test = new /image/subclass | ||
ASSERT(test.plane == 123) | ||
ASSERT(test.icon_state == "subclass") | ||
var/image/subclass/test2 = new(icon()) | ||
ASSERT(test2.plane == FLOAT_PLANE) | ||
ASSERT(test2.icon_state == null) | ||
var/image/subclass/test3 = new(icon_state="test") | ||
ASSERT(test3.plane == 123) | ||
ASSERT(test3.icon_state == "test") |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,6 @@ | |
out += dir | ||
ASSERT(out == 14) | ||
|
||
/proc/RunTest() | ||
/proc/test_nonlocal_var() | ||
var/mob/m = new | ||
m.dodir() |
Oops, something went wrong.