-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into 2024-09-14-audio-…
…reloads
- Loading branch information
Showing
415 changed files
with
21,361 additions
and
15,016 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,30 +5,30 @@ on: | |
- cron: "0 0 * * 0" | ||
jobs: | ||
docfx: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3.6.0 | ||
with: | ||
submodules: true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4.2.2 | ||
with: | ||
submodules: true | ||
|
||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v3.2.0 | ||
with: | ||
dotnet-version: 8.0.x | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v4.1.0 | ||
with: | ||
dotnet-version: 9.0.x | ||
|
||
- name: Install dependencies | ||
run: dotnet restore | ||
- name: Install dependencies | ||
run: dotnet restore | ||
|
||
- name: Build Project | ||
run: dotnet build --no-restore /p:WarningsAsErrors=nullable | ||
- name: Build Project | ||
run: dotnet build --no-restore /p:WarningsAsErrors=nullable | ||
|
||
- name: Build DocFX | ||
uses: nikeee/[email protected] | ||
with: | ||
args: Robust.Docfx/docfx.json | ||
- name: Build DocFX | ||
uses: nikeee/[email protected] | ||
with: | ||
args: Robust.Docfx/docfx.json | ||
|
||
- name: Publish Docfx Documentation on GitHub Pages | ||
uses: maxheld83/ghpages@master | ||
env: | ||
BUILD_DIR: Robust.Docfx/_robust-site | ||
GH_PAT: ${{ secrets.GH_PAT }} | ||
- name: Publish Docfx Documentation on GitHub Pages | ||
uses: maxheld83/ghpages@master | ||
env: | ||
BUILD_DIR: Robust.Docfx/_robust-site | ||
GH_PAT: ${{ secrets.GH_PAT }} |
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 |
---|---|---|
|
@@ -2,33 +2,32 @@ name: Build & Test | |
|
||
on: | ||
push: | ||
branches: [ master ] | ||
branches: [master] | ||
pull_request: | ||
branches: [ master ] | ||
branches: [master] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest ] # , macos-latest] - temporarily disabled due to libfreetype.dll errors. | ||
os: [ubuntu-latest, windows-latest] # , macos-latest] - temporarily disabled due to libfreetype.dll errors. | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
|
||
- name: Setup .NET Core | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 8.0.x | ||
- name: Install dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --no-restore /p:WarningsAsErrors=nullable | ||
- name: Robust.UnitTesting | ||
run: dotnet test --no-build Robust.UnitTesting/Robust.UnitTesting.csproj -- NUnit.ConsoleOut=0 | ||
- name: Robust.Analyzers.Tests | ||
run: dotnet test --no-build Robust.Analyzers.Tests/Robust.Analyzers.Tests.csproj -- NUnit.ConsoleOut=0 | ||
- uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
|
||
- name: Setup .NET Core | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 9.0.x | ||
- name: Install dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --no-restore /p:WarningsAsErrors=nullable | ||
- name: Robust.UnitTesting | ||
run: dotnet test --no-build Robust.UnitTesting/Robust.UnitTesting.csproj -- NUnit.ConsoleOut=0 | ||
- name: Robust.Analyzers.Tests | ||
run: dotnet test --no-build Robust.Analyzers.Tests/Robust.Analyzers.Tests.csproj -- NUnit.ConsoleOut=0 |
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 |
---|---|---|
|
@@ -3,51 +3,50 @@ | |
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
- "v*" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Parse version | ||
id: parse_version | ||
shell: pwsh | ||
run: | | ||
$ver = [regex]::Match($env:GITHUB_REF, "refs/tags/v?(.+)").Groups[1].Value | ||
echo ("::set-output name=version::{0}" -f $ver) | ||
- uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
|
||
- name: Setup .NET Core | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Package client | ||
run: Tools/package_client_build.py -p windows mac linux | ||
|
||
- name: Shuffle files around | ||
run: | | ||
mkdir "release/${{ steps.parse_version.outputs.version }}" | ||
mv release/*.zip "release/${{ steps.parse_version.outputs.version }}" | ||
- name: Upload files to Suns | ||
uses: appleboy/scp-action@master | ||
with: | ||
host: suns.spacestation14.com | ||
username: robust-build-push | ||
key: ${{ secrets.CENTCOMM_ROBUST_BUILDS_PUSH_KEY }} | ||
source: "release/${{ steps.parse_version.outputs.version }}" | ||
target: "/var/lib/robust-builds/builds/" | ||
strip_components: 1 | ||
|
||
- name: Update manifest JSON | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: suns.spacestation14.com | ||
username: robust-build-push | ||
key: ${{ secrets.CENTCOMM_ROBUST_BUILDS_PUSH_KEY }} | ||
script: /home/robust-build-push/push.ps1 ${{ steps.parse_version.outputs.version }} | ||
|
||
- name: Parse version | ||
id: parse_version | ||
shell: pwsh | ||
run: | | ||
$ver = [regex]::Match($env:GITHUB_REF, "refs/tags/v?(.+)").Groups[1].Value | ||
echo ("::set-output name=version::{0}" -f $ver) | ||
- uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
|
||
- name: Setup .NET Core | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: 9.0.x | ||
|
||
- name: Package client | ||
run: Tools/package_client_build.py -p windows mac linux | ||
|
||
- name: Shuffle files around | ||
run: | | ||
mkdir "release/${{ steps.parse_version.outputs.version }}" | ||
mv release/*.zip "release/${{ steps.parse_version.outputs.version }}" | ||
- name: Upload files to Suns | ||
uses: appleboy/scp-action@master | ||
with: | ||
host: suns.spacestation14.com | ||
username: robust-build-push | ||
key: ${{ secrets.CENTCOMM_ROBUST_BUILDS_PUSH_KEY }} | ||
source: "release/${{ steps.parse_version.outputs.version }}" | ||
target: "/var/lib/robust-builds/builds/" | ||
strip_components: 1 | ||
|
||
- name: Update manifest JSON | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: suns.spacestation14.com | ||
username: robust-build-push | ||
key: ${{ secrets.CENTCOMM_ROBUST_BUILDS_PUSH_KEY }} | ||
script: /home/robust-build-push/push.ps1 ${{ steps.parse_version.outputs.version }} |
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
Oops, something went wrong.