From 5df9e7d0d023d4ba186d024405b25235ec59560d Mon Sep 17 00:00:00 2001 From: Mika3578 <58137747+Mika3578@users.noreply.github.com> Date: Sat, 22 Nov 2025 22:04:29 +0100 Subject: [PATCH] Install Windows SDK and MFC for CI --- .github/workflows/ci.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 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 00000000..f760c8b1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,34 @@ +name: CI + +on: + push: + branches: ["**"] + pull_request: + +jobs: + build-windows: + name: Windows build (${{ matrix.configuration }}) + runs-on: windows-latest + strategy: + fail-fast: false + matrix: + configuration: [Debug, Release] + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Setup MSBuild + uses: microsoft/setup-msbuild@v2 + + - name: Install Windows 10 SDK 10.0.22621.0 + run: choco install windows-sdk-10-version-22621-all --yes --no-progress + + - name: Install MFC components + run: | + "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" modify --installPath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise" --add Microsoft.VisualStudio.Component.VC.MFC --quiet --norestart --nocache + + - name: Build solution + run: msbuild srchybrid\\emule.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=Win32 /m