summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAdonais Romero González <[email protected]>2023-01-30 15:00:49 -0800
committerGitHub <[email protected]>2023-01-30 15:00:49 -0800
commit07779ee84973f2f63a1f2ced6377463b1c01baaf (patch)
treed28fc10efc8f5dee97ec5df162bb533f6e801585 /.github/workflows
parent2c0c8763300988d92ddd139cadf012f5ab1b12e1 (diff)
Build scripts update (#844)
--------- Co-authored-by: Jakob Lichtenberg (170957) <[email protected]>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/Code-Scanning.yml4
-rw-r--r--.github/workflows/ci-pr.yml10
-rw-r--r--.github/workflows/ci.yml6
3 files changed, 9 insertions, 11 deletions
diff --git a/.github/workflows/Code-Scanning.yml b/.github/workflows/Code-Scanning.yml
index 2993c393..b2c851b6 100644
--- a/.github/workflows/Code-Scanning.yml
+++ b/.github/workflows/Code-Scanning.yml
@@ -46,9 +46,9 @@ jobs:
uses: microsoft/[email protected]
- name: Retrieve and build all available solutions
- id: build-all-projects
+ id: build-all-samples
run: |
- .\Build-AllProjects.ps1
+ .\Build-AllSamples.ps1
env:
Configuration: ${{ matrix.configuration }}
Platform: ${{ matrix.platform }}
diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml
index 931df9e4..c701bd23 100644
--- a/.github/workflows/ci-pr.yml
+++ b/.github/workflows/ci-pr.yml
@@ -15,8 +15,6 @@ jobs:
configuration: [Debug, Release]
platform: [x64, arm64]
runs-on: windows-2022
- env:
- Solution_Path: general\echo\kmdf\kmdfecho.sln
steps:
- name: Check out repository code
uses: actions/checkout@v3
@@ -29,12 +27,14 @@ jobs:
- name: Get changed files
id: get-changed-files
uses: tj-actions/changed-files@v27
+ with:
+ separator: ","
- name: Retrieve and build solutions from changed files
- id: build-changed-projects
+ id: build-changed-samples
run: |
- $changedFiles = "${{ steps.get-changed-files.outputs.all_changed_files }}".Split(' ')
- .\.github\scripts\Build-ChangedProjects.ps1 -ChangedFiles $changedFiles
+ $changedFiles = "${{ steps.get-changed-files.outputs.all_changed_files }}".Split(',')
+ .\.github\scripts\Build-ChangedSamples.ps1 -ChangedFiles $changedFiles -Verbose
env:
Configuration: ${{ matrix.configuration }}
Platform: ${{ matrix.platform }}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4c07460a..a8063d6e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -15,8 +15,6 @@ jobs:
configuration: [Debug, Release]
platform: [x64, arm64]
runs-on: windows-2022
- env:
- Solution_Path: general\echo\kmdf\kmdfecho.sln
steps:
- name: Check out repository code
uses: actions/checkout@v3
@@ -27,9 +25,9 @@ jobs:
uses: microsoft/[email protected]
- name: Retrieve and build all available solutions
- id: build-all-projects
+ id: build-all-samples
run: |
- .\Build-AllProjects.ps1
+ .\Build-AllSamples.ps1 -Verbose
env:
Configuration: ${{ matrix.configuration }}
Platform: ${{ matrix.platform }}