mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 15:07:03 +01:00
Merge branch 'dev' into V6
This commit is contained in:
@@ -2,7 +2,7 @@ name: "Check PR Has Milestone"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [ opened, edited, synchronize, reopened ]
|
||||
types: [ opened, edited, synchronize, reopened, labeled ]
|
||||
branches:
|
||||
- dev
|
||||
- master
|
||||
|
||||
@@ -366,7 +366,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
database-type: [ 'SqlServer', 'Sqlite', 'PostgresSql', 'MariaDB', 'MySql' ]
|
||||
watchdog-type: [ 'Basic', 'System' ]
|
||||
watchdog-type: [ 'Basic', 'Advanced' ]
|
||||
configuration: [ 'Debug', 'Release' ]
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
@@ -383,7 +383,7 @@ jobs:
|
||||
dotnet-version: '${{ env.TGS_DOTNET_VERSION }}.0.x'
|
||||
|
||||
- name: Set TGS_TEST_DUMP_API_SPEC
|
||||
if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'System' && matrix.database-type == 'SqlServer' }}
|
||||
if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'Advanced' && matrix.database-type == 'SqlServer' }}
|
||||
run: echo "TGS_TEST_DUMP_API_SPEC=yes" >> $Env:GITHUB_ENV
|
||||
|
||||
- name: Set General__UseBasicWatchdog
|
||||
@@ -474,7 +474,7 @@ jobs:
|
||||
path: ./TestResults/
|
||||
|
||||
- name: Store OpenAPI Spec
|
||||
if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'System' && matrix.database-type == 'SqlServer' }}
|
||||
if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'Advanced' && matrix.database-type == 'SqlServer' }}
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: openapi-spec
|
||||
@@ -563,7 +563,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
database-type: [ 'Sqlite', 'PostgresSql', 'MariaDB', 'MySql' ]
|
||||
watchdog-type: [ 'Basic', 'System' ]
|
||||
watchdog-type: [ 'Basic', 'Advanced' ]
|
||||
configuration: [ 'Debug', 'Release' ]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -646,7 +646,7 @@ jobs:
|
||||
path: ./TestResults/
|
||||
|
||||
- name: Package Server Console
|
||||
if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'System' && matrix.database-type == 'MariaDB' }}
|
||||
if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'Advanced' && matrix.database-type == 'MariaDB' }}
|
||||
run: |
|
||||
cd src/Tgstation.Server.Host.Console
|
||||
dotnet publish -c ${{ matrix.configuration }} -o ../../artifacts/Console
|
||||
@@ -658,7 +658,7 @@ jobs:
|
||||
build/RemoveUnsupportedRuntimes.sh artifacts/Console
|
||||
|
||||
- name: Package Server Update Package
|
||||
if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'System' && matrix.database-type == 'PostgresSql' }}
|
||||
if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'Advanced' && matrix.database-type == 'PostgresSql' }}
|
||||
run: |
|
||||
cd src/Tgstation.Server.Host
|
||||
dotnet publish -c ${{ matrix.configuration }}NoWindows --no-build -o ../../artifacts/ServerUpdate
|
||||
@@ -667,14 +667,14 @@ jobs:
|
||||
build/RemoveUnsupportedRuntimes.sh artifacts/ServerUpdate
|
||||
|
||||
- name: Store Server Console
|
||||
if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'System' && matrix.database-type == 'MariaDB' }}
|
||||
if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'Advanced' && matrix.database-type == 'MariaDB' }}
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ServerConsole
|
||||
path: artifacts/Console/
|
||||
|
||||
- name: Store Server Update Package
|
||||
if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'System' && matrix.database-type == 'PostgresSql' }}
|
||||
if: ${{ matrix.configuration == 'Release' && matrix.watchdog-type == 'Advanced' && matrix.database-type == 'PostgresSql' }}
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ServerUpdatePackage
|
||||
@@ -736,100 +736,100 @@ jobs:
|
||||
name: linux-unit-test-coverage-Release
|
||||
path: ./code_coverage/unit_tests/linux_unit_tests_release
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Release, System, Sqlite)
|
||||
- name: Retrieve Linux Integration Test Coverage (Release, Advanced, Sqlite)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Release-System-Sqlite
|
||||
name: linux-integration-test-coverage-Release-Advanced-Sqlite
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_release_system_sqlite
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Release, System, PostgresSql)
|
||||
- name: Retrieve Linux Integration Test Coverage (Release, Advanced, PostgresSql)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Release-System-PostgresSql
|
||||
name: linux-integration-test-coverage-Release-Advanced-PostgresSql
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_release_system_mariadb
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Release, System, MariaDB)
|
||||
- name: Retrieve Linux Integration Test Coverage (Release, Advanced, MariaDB)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Release-System-MariaDB
|
||||
name: linux-integration-test-coverage-Release-Advanced-MariaDB
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_release_system_mysql
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Release, System, MySql)
|
||||
- name: Retrieve Linux Integration Test Coverage (Release, Advanced, MySql)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Release-System-MySql
|
||||
name: linux-integration-test-coverage-Release-Advanced-MySql
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_release_system_mysql
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Release, Basic, Sqlite)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Release-System-Sqlite
|
||||
name: linux-integration-test-coverage-Release-Advanced-Sqlite
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_release_basic_sqlite
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Release, Basic, PostgresSql)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Release-System-PostgresSql
|
||||
name: linux-integration-test-coverage-Release-Advanced-PostgresSql
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_release_basic_mariadb
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Release, Basic, MariaDB)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Release-System-MariaDB
|
||||
name: linux-integration-test-coverage-Release-Advanced-MariaDB
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_release_basic_mysql
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Release, Basic, MySql)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Release-System-MySql
|
||||
name: linux-integration-test-coverage-Release-Advanced-MySql
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_release_basic_mysql
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Debug, System, Sqlite)
|
||||
- name: Retrieve Linux Integration Test Coverage (Debug, Advanced, Sqlite)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Debug-System-Sqlite
|
||||
name: linux-integration-test-coverage-Debug-Advanced-Sqlite
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_debug_system_sqlite
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Debug, System, PostgresSql)
|
||||
- name: Retrieve Linux Integration Test Coverage (Debug, Advanced, PostgresSql)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Debug-System-PostgresSql
|
||||
name: linux-integration-test-coverage-Debug-Advanced-PostgresSql
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_debug_system_mariadb
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Debug, System, MariaDB)
|
||||
- name: Retrieve Linux Integration Test Coverage (Debug, Advanced, MariaDB)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Debug-System-MariaDB
|
||||
name: linux-integration-test-coverage-Debug-Advanced-MariaDB
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_debug_system_mysql
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Debug, System, MySql)
|
||||
- name: Retrieve Linux Integration Test Coverage (Debug, Advanced, MySql)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Debug-System-MySql
|
||||
name: linux-integration-test-coverage-Debug-Advanced-MySql
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_debug_system_mysql
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Debug, Basic, Sqlite)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Debug-System-Sqlite
|
||||
name: linux-integration-test-coverage-Debug-Advanced-Sqlite
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_debug_basic_sqlite
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Debug, Basic, PostgresSql)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Debug-System-PostgresSql
|
||||
name: linux-integration-test-coverage-Debug-Advanced-PostgresSql
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_debug_basic_mariadb
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Debug, Basic, MariaDB)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Debug-System-MariaDB
|
||||
name: linux-integration-test-coverage-Debug-Advanced-MariaDB
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_debug_basic_mysql
|
||||
|
||||
- name: Retrieve Linux Integration Test Coverage (Debug, Basic, MySql)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: linux-integration-test-coverage-Debug-System-MySql
|
||||
name: linux-integration-test-coverage-Debug-Advanced-MySql
|
||||
path: ./code_coverage/integration_tests/linux_integration_tests_debug_basic_mysql
|
||||
|
||||
- name: Retrieve Windows Unit Test Coverage (Release)
|
||||
@@ -850,16 +850,16 @@ jobs:
|
||||
name: windows-integration-test-coverage-Release-Basic-SqlServer
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_release_basic_sqlserver
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, System, SqlServer)
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, Advanced, SqlServer)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: windows-integration-test-coverage-Debug-System-SqlServer
|
||||
name: windows-integration-test-coverage-Debug-Advanced-SqlServer
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_debug_system_sqlserver
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Release, System, SqlServer)
|
||||
- name: Retrieve Windows Integration Test Coverage (Release, Advanced, SqlServer)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: windows-integration-test-coverage-Release-System-SqlServer
|
||||
name: windows-integration-test-coverage-Release-Advanced-SqlServer
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_release_system_sqlserver
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, Basic, MariaDB)
|
||||
@@ -874,16 +874,16 @@ jobs:
|
||||
name: windows-integration-test-coverage-Release-Basic-MariaDB
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_release_basic_mariadb
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, System, MariaDB)
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, Advanced, MariaDB)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: windows-integration-test-coverage-Debug-System-MariaDB
|
||||
name: windows-integration-test-coverage-Debug-Advanced-MariaDB
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_debug_system_mariadb
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Release, System, MariaDB)
|
||||
- name: Retrieve Windows Integration Test Coverage (Release, Advanced, MariaDB)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: windows-integration-test-coverage-Release-System-MariaDB
|
||||
name: windows-integration-test-coverage-Release-Advanced-MariaDB
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_release_system_mariadb
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, Basic, MySql)
|
||||
@@ -898,16 +898,16 @@ jobs:
|
||||
name: windows-integration-test-coverage-Release-Basic-MySql
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_release_basic_mysql
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, System, MySql)
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, Advanced, MySql)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: windows-integration-test-coverage-Debug-System-MySql
|
||||
name: windows-integration-test-coverage-Debug-Advanced-MySql
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_debug_system_mysql
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Release, System, MySql)
|
||||
- name: Retrieve Windows Integration Test Coverage (Release, Advanced, MySql)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: windows-integration-test-coverage-Release-System-MySql
|
||||
name: windows-integration-test-coverage-Release-Advanced-MySql
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_release_system_mysql
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, Basic, PostgresSql)
|
||||
@@ -922,16 +922,16 @@ jobs:
|
||||
name: windows-integration-test-coverage-Release-Basic-PostgresSql
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_release_basic_postgressql
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, System, PostgresSql)
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, Advanced, PostgresSql)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: windows-integration-test-coverage-Debug-System-PostgresSql
|
||||
name: windows-integration-test-coverage-Debug-Advanced-PostgresSql
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_debug_system_postgressql
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Release, System, PostgresSql)
|
||||
- name: Retrieve Windows Integration Test Coverage (Release, Advanced, PostgresSql)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: windows-integration-test-coverage-Release-System-PostgresSql
|
||||
name: windows-integration-test-coverage-Release-Advanced-PostgresSql
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_release_system_postgressql
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, Basic, Sqlite)
|
||||
@@ -946,16 +946,16 @@ jobs:
|
||||
name: windows-integration-test-coverage-Release-Basic-Sqlite
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_release_basic_sqlite
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, System, Sqlite)
|
||||
- name: Retrieve Windows Integration Test Coverage (Debug, Advanced, Sqlite)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: windows-integration-test-coverage-Debug-System-Sqlite
|
||||
name: windows-integration-test-coverage-Debug-Advanced-Sqlite
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_debug_system_sqlite
|
||||
|
||||
- name: Retrieve Windows Integration Test Coverage (Release, System, Sqlite)
|
||||
- name: Retrieve Windows Integration Test Coverage (Release, Advanced, Sqlite)
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: windows-integration-test-coverage-Release-System-Sqlite
|
||||
name: windows-integration-test-coverage-Release-Advanced-Sqlite
|
||||
path: ./code_coverage/integration_tests/windows_integration_tests_release_system_sqlite
|
||||
|
||||
- name: Upload Coverage to CodeCov
|
||||
@@ -1774,5 +1774,5 @@ jobs:
|
||||
- name: Run ReleaseNotes with --link-winget
|
||||
shell: powershell
|
||||
run: |
|
||||
Sleep 15
|
||||
Sleep 600
|
||||
dotnet run -c Release --no-build --project tools/Tgstation.Server.ReleaseNotes --link-winget ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
|
||||
Reference in New Issue
Block a user