From 684943bba9b0590a51fb565a90201e022666a2b6 Mon Sep 17 00:00:00 2001 From: Switch <31280229+gavin1970@users.noreply.github.com> Date: Sat, 7 Mar 2026 16:55:43 -0500 Subject: [PATCH 1/2] Adding auto-build workflow --- .github/workflows/ci.yml | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..8e18352 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,48 @@ +name: CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + runs-on: windows-latest + + strategy: + fail-fast: false + matrix: + configuration: [Debug, Release] + platform: [Win32, x64] + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup MSBuild + uses: microsoft/setup-msbuild@v2 + + - name: Setup .NET 8 + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.0.x' + + - name: Restore + run: msbuild Colors.Dev.sln /t:Restore /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }} + + - name: Build + run: msbuild Colors.Dev.sln /m /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }} + + - name: Upload build artifacts + uses: actions/upload-artifact@v4 + with: + name: Colors.Dev-${{ matrix.configuration }}-${{ matrix.platform }} + path: | + **/bin/${{ matrix.platform }}/${{ matrix.configuration }}/** + **/${{ matrix.platform }}/${{ matrix.configuration }}/** + if-no-files-found: warn From 64b43e6ff4f4a2a624a5591990a50c43804e40e0 Mon Sep 17 00:00:00 2001 From: Switch <31280229+gavin1970@users.noreply.github.com> Date: Sat, 7 Mar 2026 17:05:36 -0500 Subject: [PATCH 2/2] updated auto-build workflow --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e18352..b2af732 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: configuration: [Debug, Release] - platform: [Win32, x64] + platform: [x64] steps: - name: Checkout