-
Notifications
You must be signed in to change notification settings - Fork 37
42 lines (34 loc) · 961 Bytes
/
update_pdb.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Update PDB
on:
workflow_run:
workflows: Maintenance
types: completed
workflow_dispatch:
concurrency:
group: pdb
cancel-in-progress: true
jobs:
update-pdb:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get CMake
uses: lukka/get-cmake@latest
- name: Setup MSVC prompt
uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: x64
toolset: 14.40
- name: Build
run: |
${{ github.workspace }}/scripts/build-debug-msvc-test.bat
- name: Find PDB
run: |
$pdb = Get-ChildItem -Path "${{ github.workspace }}" -Filter "CommonLibSF-test.pdb" -Recurse -ErrorAction SilentlyContinue -Force
"PDB_PATH=$pdb" >> $env:GITHUB_ENV
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: CommonLibSF.pdb
path: ${{ env.PDB_PATH }}