feat: add github workflow for pr build check

Adds a new GitHub workflow to automatically build the solution on pull requests to the master branch. This ensures that the code in PRs is in a buildable state before merging.
This commit is contained in:
google-labs-jules[bot]
2025-12-14 03:36:04 +00:00
parent 604f496115
commit c3d41e7f92

25
.github/workflows/pr-build-check.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: PR Build Check
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
- name: Restore dependencies
run: dotnet restore CRSim.sln
- name: Build
run: dotnet build CRSim.sln --configuration Release --no-restore