diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci-pr.yml | 14 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 14 |
2 files changed, 22 insertions, 6 deletions
diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 6719270e..7983c8dd 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -9,12 +9,19 @@ on: - 'LICENSE' jobs: build: - name: Build driver samples + name: build ${{ matrix.nt.tag }} ${{ matrix.configuration }} ${{ matrix.platform }} strategy: fail-fast: false matrix: configuration: [Debug, Release] platform: [x64, arm64] + # _NT_TARGET_VERSION = the WDK library version drivers link against (newest first). + # Each { version, tag } runs as its own parallel job; trim this list to reduce CI load. + nt: + - { version: '10.0.28000', tag: '28000' } + - { version: '10.0.26100', tag: '26100' } + - { version: '10.0.22621', tag: '22621' } + - { version: '10.0.22000', tag: '22000' } runs-on: windows-2025-vs2026 steps: - name: Check out repository code @@ -38,13 +45,14 @@ jobs: env: WDS_Configuration: ${{ matrix.configuration }} WDS_Platform: ${{ matrix.platform }} - WDS_ReportFileName: _overview.${{ matrix.configuration }}.${{ matrix.platform }} + WDS_NtTargetVersion: ${{ matrix.nt.version }} + WDS_ReportFileName: _overview.${{ matrix.nt.tag }}.${{ matrix.configuration }}.${{ matrix.platform }} - name: Archive build logs and overview build reports uses: actions/upload-artifact@v4 if: always() with: - name: logs-${{ matrix.configuration }}-${{ matrix.platform }} + name: logs-${{ matrix.nt.tag }}-${{ matrix.configuration }}-${{ matrix.platform }} path: _logs report: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca2696d8..022ae4f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,12 +12,19 @@ on: - cron: '0 8 * * 6' jobs: build: - name: Build driver samples + name: build ${{ matrix.nt.tag }} ${{ matrix.configuration }} ${{ matrix.platform }} strategy: fail-fast: false matrix: configuration: [Debug, Release] platform: [x64, arm64] + # _NT_TARGET_VERSION = the WDK library version drivers link against (newest first). + # Each { version, tag } runs as its own parallel job; trim this list to reduce CI load. + nt: + - { version: '10.0.28000', tag: '28000' } + - { version: '10.0.26100', tag: '26100' } + - { version: '10.0.22621', tag: '22621' } + - { version: '10.0.22000', tag: '22000' } runs-on: windows-2025-vs2026 steps: - name: Check out repository code @@ -33,13 +40,14 @@ jobs: env: WDS_Configuration: ${{ matrix.configuration }} WDS_Platform: ${{ matrix.platform }} - WDS_ReportFileName: _overview.${{ matrix.configuration }}.${{ matrix.platform }} + WDS_NtTargetVersion: ${{ matrix.nt.version }} + WDS_ReportFileName: _overview.${{ matrix.nt.tag }}.${{ matrix.configuration }}.${{ matrix.platform }} - name: Archive build logs and overview build reports uses: actions/upload-artifact@v4 if: always() with: - name: logs-${{ matrix.configuration }}-${{ matrix.platform }} + name: logs-${{ matrix.nt.tag }}-${{ matrix.configuration }}-${{ matrix.platform }} path: _logs report: |
