Skip to content

Commit

Permalink
Test using artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
middlemose authored Jun 5, 2024
1 parent 57208dd commit d1e8097
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/Code-Scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
branches:
- main
- develop
- develop2
pull_request:
# The branches below must be a subset of the branches above
branches:
Expand Down
31 changes: 29 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
fail-fast: false
matrix:
configuration: [Debug, Release]
platform: [x64, arm64]
configuration: [Debug]
platform: [x64]
runs-on: windows-2022
steps:
- name: Check out repository code
Expand All @@ -35,6 +35,13 @@ jobs:
WDS_Configuration: ${{ matrix.configuration }}
WDS_Platform: ${{ matrix.platform }}
WDS_ReportFileName: _overview.${{ matrix.configuration }}.${{ matrix.platform }}

- name: Archive x64 Debug
if: ${{ matrix.configuration == Debug && matrix.platform == x64 }}
uses: actions/upload-artifact@v4
with:
name: archive_x64
path: .\

- name: Archive build logs and overview build reports
uses: actions/upload-artifact@v3
Expand All @@ -43,6 +50,26 @@ jobs:
name: logs
path: _logs

analyze:
name: Analysis
runs-on: windows-2022
needs: build
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]
steps:
- name: Download Archive
uses: actions/download-artifact@v4
with:
name: archive_x64
- name: List
run: ls

report:
name: Generate global report
runs-on: windows-2022
Expand Down

0 comments on commit d1e8097

Please sign in to comment.