Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
name: CI

on:
push:
branches: ["**"]
pull_request:

jobs:
build-windows:
name: Windows build (${{ matrix.configuration }})
Comment thread
Mika3578 marked this conversation as resolved.
name: Comprehensive CI
permissions:
contents: read
Expand All @@ -18,6 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
configuration: [Debug, Release]
configuration: [ Debug, Release, Beta ]
Comment thread
Mika3578 marked this conversation as resolved.
env:
SOLUTION_FILE: srchybrid/emule.sln
Expand All @@ -28,6 +39,19 @@ jobs:
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

Comment thread
Mika3578 marked this conversation as resolved.
- name: Build solution
run: msbuild srchybrid\\emule.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=Win32 /m
fetch-depth: 0
Comment thread
Mika3578 marked this conversation as resolved.
Comment thread
Mika3578 marked this conversation as resolved.

- name: Set up MSBuild
Expand Down