diff options
| author | Adonais Romero González <[email protected]> | 2023-06-15 11:51:39 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-15 11:51:39 -0700 |
| commit | f5fe952f1fc90cfcff535407d56f49953d22e8da (patch) | |
| tree | 9149971aa79642585b6798c60a9e419c63868231 /.github/workflows | |
| parent | c5cc3eca707a39d71a3f34281af107795b2af945 (diff) | |
Generate and provide overview reports (#993)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci-pr.yml | 29 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 29 |
2 files changed, 56 insertions, 2 deletions
diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index ad170154..695d4186 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -9,6 +9,7 @@ on: - 'LICENSE' jobs: build: + name: Build driver samples strategy: fail-fast: false matrix: @@ -37,10 +38,36 @@ jobs: env: WDS_Configuration: ${{ matrix.configuration }} WDS_Platform: ${{ matrix.platform }} + WDS_ReportFileName: _overview.${{ matrix.configuration }}.${{ matrix.platform }} - - name: Archive logs + - name: Archive build logs and overview build reports uses: actions/upload-artifact@v3 if: always() with: name: logs path: _logs + + report: + name: Generate global report + runs-on: windows-2022 + needs: build + if: always() + steps: + - name: Check out repository code + uses: actions/checkout@v3 + + - name: Retrieve overview reports + uses: actions/download-artifact@v3 + with: + name: logs + path: _logs + + - name: Join and generate global reports + run: | + .\.github\scripts\Join-CsvReports.ps1 + + - name: Archive global overview build reports + uses: actions/upload-artifact@v3 + with: + name: logs + path: _logs/_overview.all.* diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70610fc7..c4fd1a2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,7 @@ on: - 'LICENSE' jobs: build: + name: Build driver samples strategy: fail-fast: false matrix: @@ -30,10 +31,36 @@ jobs: env: WDS_Configuration: ${{ matrix.configuration }} WDS_Platform: ${{ matrix.platform }} + WDS_ReportFileName: _overview.${{ matrix.configuration }}.${{ matrix.platform }} - - name: Archive logs + - name: Archive build logs and overview build reports uses: actions/upload-artifact@v3 if: always() with: name: logs path: _logs + + report: + name: Generate global report + runs-on: windows-2022 + needs: build + if: always() + steps: + - name: Check out repository code + uses: actions/checkout@v3 + + - name: Retrieve overview reports + uses: actions/download-artifact@v3 + with: + name: logs + path: _logs + + - name: Join and generate global reports + run: | + .\.github\scripts\Join-CsvReports.ps1 + + - name: Archive global overview build reports + uses: actions/upload-artifact@v3 + with: + name: logs + path: _logs/_overview.all.* |
