summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml28
1 files changed, 15 insertions, 13 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c4fd1a2a..1f3d7693 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,6 +7,9 @@ on:
paths-ignore:
- '**.md'
- 'LICENSE'
+ schedule:
+ # Runs every Saturday at 00:00 PST (08:00 UTC)
+ - cron: '0 8 * * 6'
jobs:
build:
name: Build driver samples
@@ -18,26 +21,25 @@ jobs:
runs-on: windows-2022
steps:
- name: Check out repository code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
submodules: 'recursive'
- - name: Add MSBuild to PATH
- uses: microsoft/[email protected]
+ - name: Install Nuget Packages
+ run: nuget restore .\packages.config -PackagesDirectory .\packages\
- name: Retrieve and build all available solutions
- run: |
- .\Build-AllSamples.ps1 -Verbose
+ run: .\Build-AllSamples.ps1 -Verbose
env:
WDS_Configuration: ${{ matrix.configuration }}
WDS_Platform: ${{ matrix.platform }}
WDS_ReportFileName: _overview.${{ matrix.configuration }}.${{ matrix.platform }}
- name: Archive build logs and overview build reports
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
if: always()
with:
- name: logs
+ name: logs-${{ matrix.configuration }}-${{ matrix.platform }}
path: _logs
report:
@@ -47,20 +49,20 @@ jobs:
if: always()
steps:
- name: Check out repository code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Retrieve overview reports
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
with:
- name: logs
path: _logs
+ pattern: logs-*
+ merge-multiple: true
- name: Join and generate global reports
- run: |
- .\.github\scripts\Join-CsvReports.ps1
+ run: .\.github\scripts\Join-CsvReports.ps1
- name: Archive global overview build reports
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: logs
path: _logs/_overview.all.*