mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-23 22:48:07 -05:00
30 lines
649 B
YAML
30 lines
649 B
YAML
name: Tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: [ windows-latest ]
|
|
steps:
|
|
- name: Full Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
clean: true
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v5
|
|
with:
|
|
dotnet-version: '10.0.x'
|
|
|
|
- name: Build
|
|
run: dotnet run --project .\engine\Tools\SboxBuild\SboxBuild.csproj -- build --config Developer
|
|
|
|
- name: Test
|
|
run: dotnet run --project .\engine\Tools\SboxBuild\SboxBuild.csproj -- test
|