From 4ef92e8c7a576250376ef71a059567dcb0367f40 Mon Sep 17 00:00:00 2001 From: Jeff Date: Tue, 28 Nov 2023 16:03:54 -0800 Subject: [PATCH] Update bcny-firebase.yml Make some pdbs --- .github/workflows/bcny-firebase.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bcny-firebase.yml b/.github/workflows/bcny-firebase.yml index 0917748d20..ef3a997c2e 100644 --- a/.github/workflows/bcny-firebase.yml +++ b/.github/workflows/bcny-firebase.yml @@ -76,9 +76,9 @@ jobs: -D FIREBASE_PYTHON_HOST_EXECUTABLE:FILEPATH=${{ steps.python.outputs.python-path }} ` -D FLATBUFFERS_FLATC_EXECUTABLE=${{ github.workspace }}/BinaryCache/flatbuffers/Release/flatc.exe - name: Build firebase - run: cmake --build ${{ github.workspace }}/BinaryCache/firebase --config Release + run: cmake --build ${{ github.workspace }}/BinaryCache/firebase --config RelWithDebInfo - name: Install firebase - run: cmake --build ${{ github.workspace }}/BinaryCache/firebase --config Release --target install + run: cmake --build ${{ github.workspace }}/BinaryCache/firebase --config RelWithDebInfo --target install - name: Install firebase (manual) run: | Copy-Item "${{ github.workspace }}/BinaryCache/firebase/external/src/firestore/Firestore/core/include/firebase/firestore/firestore_errors.h" "${{ github.workspace }}/BuildRoot/Library/firebase/usr/include/firebase/firestore/firestore_errors.h" @@ -93,6 +93,13 @@ jobs: Copy-Item -Path $library.FullName -Destination $destination -Force Write-Host "... copied ${destination}" } + + $pdbs = Get-ChildItem -Path $source -File -Recurse -Filter *.pdb + foreach ($pdb in $pdbs) { + $destination = Join-Path -Path "${{ github.workspace }}/BuildRoot/Library/firebase/usr/libs/windows" -ChildPath $pdb.Name + Copy-Item -Path $pdb.FullName -Destination $destination -Force + Write-Host "... copied ${destination}" + } - uses: actions/upload-artifact@v3 with: name: firebase-windows-${{ matrix.arch }}