aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml15
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9f8eca8..5205283 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -27,12 +27,12 @@ jobs:
build:
strategy:
matrix:
- # As of June '26, WDK doesn't seem to be included in VS 2026 (windows-2026) images.
- toolset: [vs2022]
+ toolset: [vs2022, vs2026]
platform: [x64]
configuration: [Debug, Release]
include:
- {toolset: vs2022, os: windows-2022}
+ - {toolset: vs2026, os: windows-2025}
runs-on: '${{ matrix.os }}'
name: 'Build: ${{ matrix.toolset }} / ${{ matrix.platform }} / ${{ matrix.configuration }}'
defaults:
@@ -43,8 +43,16 @@ jobs:
uses: actions/checkout@v6
with:
submodules: recursive
+
- name: Set up msbuild
uses: microsoft/setup-msbuild@v3
+
+ - name: Install NuGet packages
+ # As of June '26, WDK doesn't seem to be included in VS 2026 (windows-2025) images.
+ # The recommended way is to use NuGet: https://github.com/actions/runner-images/issues/13071#issuecomment-3361203846
+ run: nuget restore .\packages.config -PackagesDirectory .\packages\
+ if: matrix.toolset == 'vs2026'
+
- name: Build user-mode code
run: |
New-Item -Type Directory build\cmake | Out-Null
@@ -55,6 +63,7 @@ jobs:
'${{ github.workspace }}'
cmake --build . --target install --config '${{ matrix.configuration }}'
+
- name: Build kernel-mode code
run: |
.\km\build.ps1 `
@@ -62,9 +71,11 @@ jobs:
-Configuration '${{ matrix.configuration }}' `
-Platform '${{ matrix.platform }}' `
-WDK wdk10
+
- name: Run tests
run: |
.\km\test.ps1 -InstallDir build\install
+
- name: Publish artifact
uses: actions/upload-artifact@v7
with: