Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,14 +239,13 @@ jobs:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
PATH: "D:/a/QtMeshEditor/Qt/Tools/mingw1310_64/bin;D:/a/QtMeshEditor/Qt/Tools/CMake_64/bin;${{ env.PATH }}"
run: |
Copy-Item "${{github.workspace}}/bin/QtMeshEditor.exe" "${{github.workspace}}/bin/QtMeshEditor.debug.exe"
strip.exe --strip-debug "${{github.workspace}}/bin/QtMeshEditor.exe"
npm install -g @sentry/cli
cp "${{github.workspace}}/bin/QtMeshEditor.exe" "${{github.workspace}}/bin/QtMeshEditor.debug.exe"
"D:/a/QtMeshEditor/Qt/Tools/mingw1310_64/bin/strip.exe" --strip-debug "${{github.workspace}}/bin/QtMeshEditor.exe"
curl -sL https://sentry.io/get-cli/ | bash
sentry-cli debug-files upload --include-sources "${{github.workspace}}/bin/QtMeshEditor.debug.exe"
Remove-Item "${{github.workspace}}/bin/QtMeshEditor.debug.exe"
shell: powershell
rm -f "${{github.workspace}}/bin/QtMeshEditor.debug.exe"
shell: bash

- name: Copy assimp dll to the binary folder
run: |
Expand Down Expand Up @@ -506,12 +505,12 @@ jobs:
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
run: |
# Extract debug symbols, strip binary, upload to Sentry
objcopy --only-keep-debug ./bin/QtMeshEditor ./bin/QtMeshEditor.debug
strip --strip-debug --strip-unneeded ./bin/QtMeshEditor
objcopy --add-gnu-debuglink=./bin/QtMeshEditor.debug ./bin/QtMeshEditor
sudo objcopy --only-keep-debug ./bin/QtMeshEditor ./bin/QtMeshEditor.debug
sudo strip --strip-debug --strip-unneeded ./bin/QtMeshEditor
sudo objcopy --add-gnu-debuglink=./bin/QtMeshEditor.debug ./bin/QtMeshEditor
curl -sL https://sentry.io/get-cli/ | bash
sentry-cli debug-files upload --include-sources ./bin/QtMeshEditor.debug
rm -f ./bin/QtMeshEditor.debug
sudo rm -f ./bin/QtMeshEditor.debug

- name: Add missing libraries
run: |
Expand Down Expand Up @@ -1204,8 +1203,8 @@ jobs:
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
run: |
BIN_PATH="${{github.workspace}}/bin/QtMeshEditor.app/Contents/MacOS/QtMeshEditor"
dsymutil "$BIN_PATH" -o "${{github.workspace}}/bin/QtMeshEditor.dSYM"
strip "$BIN_PATH"
sudo dsymutil "$BIN_PATH" -o "${{github.workspace}}/bin/QtMeshEditor.dSYM"
sudo strip "$BIN_PATH"
curl -sL https://sentry.io/get-cli/ | bash
sentry-cli debug-files upload --include-sources "${{github.workspace}}/bin/QtMeshEditor.dSYM"

Expand Down
Loading