diff options
| author | ya-solnyshko <[email protected]> | 2025-04-06 13:41:57 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-06 13:41:57 +0200 |
| commit | 44844a5888b8a12652ee4e4d87dd53c08afa146d (patch) | |
| tree | fa9246114c21fc120eeebb8c3b913196c57bbfe9 /.github | |
| parent | 3dbe73da0848fce170ff4f59459bc597f0d0cd34 (diff) | |
| parent | 89cb2a985612eb83e20b15f6445228ee7f681fba (diff) | |
Merge branch 'main' into fix-transaction-processing
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/Code-Scanning.yml | 23 | ||||
| -rw-r--r-- | .github/workflows/ci-pr.yml | 2 |
2 files changed, 19 insertions, 6 deletions
diff --git a/.github/workflows/Code-Scanning.yml b/.github/workflows/Code-Scanning.yml index 72e9c32c..63e155c9 100644 --- a/.github/workflows/Code-Scanning.yml +++ b/.github/workflows/Code-Scanning.yml @@ -35,7 +35,9 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'cpp' ] + include: + - language: c-cpp + build-mode: manual steps: - name: Checkout repository @@ -44,20 +46,31 @@ jobs: submodules: 'recursive' - name: Install Nuget Packages run: nuget restore .\packages.config -PackagesDirectory .\packages\ - + - name: Get changed files + id: get-changed-files + uses: tj-actions/changed-files@v41 + with: + separator: "," - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} + build-mode: ${{ matrix.build-mode }} config-file: microsoft/Windows-Driver-Developer-Supplemental-Tools/config/codeql-config.yml@development - packs: +microsoft/[email protected] - - name: Retrieve and build all available solutions + - if: github.event_name == 'pull_request' + run: | + $changedFiles = "${{ steps.get-changed-files.outputs.all_changed_files }}".Split(',') + .\.github\scripts\Build-ChangedSamples.ps1 -ChangedFiles $changedFiles -Verbose + env: + WDS_Configuration: Debug + WDS_Platform: x64 + WDS_WipeOutputs: ${{ true }} + - if: github.event_name == 'push' run: .\Build-AllSamples.ps1 -Verbose -ThrottleLimit 1 env: WDS_Configuration: Debug WDS_Platform: x64 WDS_WipeOutputs: ${{ true }} - - name: Perform CodeQL analysis uses: github/codeql-action/analyze@v3 with: diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 9c1202b2..0e5825d1 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -27,7 +27,7 @@ jobs: - name: Get changed files id: get-changed-files - uses: tj-actions/changed-files@v41 + uses: tj-actions/changed-files@v46 with: separator: "," |
