Toolshed Rejig #12826
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: Test content master against engine | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out content | |
uses: actions/[email protected] | |
with: | |
repository: space-wizards/space-station-14 | |
submodules: recursive | |
- name: Setup .NET Core | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 8.0.x | |
- name: Disable submodule autoupdate | |
run: touch BuildChecker/DISABLE_SUBMODULE_AUTOUPDATE | |
- name: Check out engine version | |
run: | | |
cd RobustToolbox | |
git fetch origin ${{ github.sha }} | |
git checkout FETCH_HEAD | |
git submodule update --init --recursive | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Tools --no-restore | |
- name: Content.Tests | |
run: dotnet test --no-build Content.Tests/Content.Tests.csproj -v n | |
- name: Content.IntegrationTests | |
run: COMPlus_gcServer=1 dotnet test --no-build Content.IntegrationTests/Content.IntegrationTests.csproj -v n |