27
.github/workflows/build-test-debug.yml
vendored
27
.github/workflows/build-test-debug.yml
vendored
@@ -3,29 +3,10 @@ name: Build & Test Debug
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master, staging, trying ]
|
branches: [ master, staging, trying ]
|
||||||
paths:
|
|
||||||
- '**.cs'
|
|
||||||
- '**.csproj'
|
|
||||||
- '**.sln'
|
|
||||||
- '**.git**'
|
|
||||||
- '**.yml'
|
|
||||||
# no docs on which one of these is supposed to work, so
|
|
||||||
# why not just do both
|
|
||||||
- 'RobustToolbox'
|
|
||||||
- 'RobustToolbox/**'
|
|
||||||
merge_group:
|
merge_group:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [ opened, reopened, synchronize, ready_for_review ]
|
types: [ opened, reopened, synchronize, ready_for_review ]
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
paths:
|
|
||||||
- '**.cs'
|
|
||||||
- '**.csproj'
|
|
||||||
- '**.sln'
|
|
||||||
- '**.git**'
|
|
||||||
- '**.yml'
|
|
||||||
- 'RobustToolbox'
|
|
||||||
- 'RobustToolbox/**'
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -71,3 +52,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$env:DOTNET_gcServer=1
|
$env:DOTNET_gcServer=1
|
||||||
dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0
|
dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0
|
||||||
|
ci-success:
|
||||||
|
name: Build & Test Debug
|
||||||
|
needs:
|
||||||
|
- build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: CI succeeded
|
||||||
|
run: exit 0
|
||||||
|
|||||||
26
.github/workflows/build-test-release.yml
vendored
26
.github/workflows/build-test-release.yml
vendored
@@ -3,28 +3,10 @@ name: Build & Test Release
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master, staging, trying ]
|
branches: [ master, staging, trying ]
|
||||||
paths:
|
|
||||||
- '**.cs'
|
|
||||||
- '**.csproj'
|
|
||||||
- '**.sln'
|
|
||||||
- '**.git**'
|
|
||||||
- '**.yml'
|
|
||||||
# no docs on which one of these is supposed to work, so
|
|
||||||
# why not just do both
|
|
||||||
- 'RobustToolbox'
|
|
||||||
- 'RobustToolbox/**'
|
|
||||||
merge_group:
|
merge_group:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [ opened, reopened, synchronize, ready_for_review ]
|
types: [ opened, reopened, synchronize, ready_for_review ]
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
paths:
|
|
||||||
- '**.cs'
|
|
||||||
- '**.csproj'
|
|
||||||
- '**.sln'
|
|
||||||
- '**.git**'
|
|
||||||
- '**.yml'
|
|
||||||
- 'RobustToolbox'
|
|
||||||
- 'RobustToolbox/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -70,3 +52,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$env:DOTNET_gcServer=1
|
$env:DOTNET_gcServer=1
|
||||||
dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0
|
dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -- NUnit.ConsoleOut=0
|
||||||
|
ci-success:
|
||||||
|
name: Build & Test Release
|
||||||
|
needs:
|
||||||
|
- build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: CI succeeded
|
||||||
|
run: exit 0
|
||||||
|
|||||||
1
.github/workflows/test-packaging.yml
vendored
1
.github/workflows/test-packaging.yml
vendored
@@ -28,6 +28,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Test Packaging
|
||||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
|||||||
1
.github/workflows/validate-rgas.yml
vendored
1
.github/workflows/validate-rgas.yml
vendored
@@ -8,6 +8,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
yaml-schema-validation:
|
yaml-schema-validation:
|
||||||
|
name: YAML RGA schema validator
|
||||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
1
.github/workflows/validate_mapfiles.yml
vendored
1
.github/workflows/validate_mapfiles.yml
vendored
@@ -8,6 +8,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
yaml-schema-validation:
|
yaml-schema-validation:
|
||||||
|
name: YAML map schema validator
|
||||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
1
.github/workflows/yaml-linter.yml
vendored
1
.github/workflows/yaml-linter.yml
vendored
@@ -9,6 +9,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: YAML Linter
|
||||||
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
10
bors.toml
10
bors.toml
@@ -1,3 +1,11 @@
|
|||||||
status = [ "Build & Test Debug", "Build & Test Release", "Test Packaging", "YAML Linter", "YAML schema validator" ]
|
status = [
|
||||||
|
"Build & Test Debug",
|
||||||
|
"Build & Test Release",
|
||||||
|
"Test Packaging",
|
||||||
|
"YAML Linter",
|
||||||
|
"YAML RGA schema validator",
|
||||||
|
"YAML map schema validator",
|
||||||
|
"Validate RSIs",
|
||||||
|
]
|
||||||
timeout_sec = 1800 # 30 minutes
|
timeout_sec = 1800 # 30 minutes
|
||||||
use_squash_merge = true # Shame this can't use GH squash but what can you do
|
use_squash_merge = true # Shame this can't use GH squash but what can you do
|
||||||
|
|||||||
Reference in New Issue
Block a user