-
Notifications
You must be signed in to change notification settings - Fork 37
42 lines (34 loc) · 968 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:
build:
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.37
- name: Build
run: |
${{ github.workspace }}/scripts/build-debug-${{ matrix.compiler }}-cpm.bat
- name: Find PDB
run: |
$pdb = Get-ChildItem -Path "${{ github.workspace }}" -Filter "CommonLibSF.pdb" -Recurse -ErrorAction SilentlyContinue -Force
"PDB_PATH=$pdb" >> $env:GITHUB_ENV
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: CommonLibSF.pdb
path: ${{ env.PDB_PATH }}