Skip to content

Enable CI workflow to run on all branches for testing #1

Enable CI workflow to run on all branches for testing

Enable CI workflow to run on all branches for testing #1

Workflow file for this run

name: Build Spectrum
on:
push:
pull_request:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Setup project
shell: cmd
run: setup.bat
- name: Generate Visual Studio projects
shell: cmd
run: generate_project.bat
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build solution
run: msbuild ./projects/spectrum.sln /p:Configuration=Release /p:Platform=x64 /m
- name: Upload build artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: build-output
path: |
./workdir/
./projects/
retention-days: 7