Skip to content

Commit 8fda689

Browse files
committed
Prepare and upload macos artifact
Signed-off-by: Viktor Kopp <[email protected]>
1 parent 1b177e8 commit 8fda689

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/BuildPR.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,26 @@ jobs:
215215
otool -L build/install/DLTViewer.app/Contents/MacOS/dlt-viewer
216216
otool -l build/install/DLTViewer.app/Contents/MacOS/dlt-viewer | grep -A2 LC_RPATH
217217
echo "Deploying DLTViewer.app with macdeployqt"
218-
$QT_ROOT_DIR/bin/macdeployqt build/install/DLTViewer.app -verbose=1 -dmg \
218+
$QT_ROOT_DIR/bin/macdeployqt build/install/DLTViewer.app -verbose=2 -dmg \
219219
-libpath=$(pwd)/build/install/DLTViewer.app/Contents/Frameworks \
220220
-executable=$(pwd)/build/install/DLTViewer.app/Contents/MacOS/dlt-viewer
221221
222-
- name: Misc
222+
- name: Misc debugging
223223
run: |
224224
brew install tree
225225
tree build/install/DLTViewer.app
226+
227+
- name: Compress artifacts
228+
run: |
229+
cd ($pwd)/build
230+
mkdir -p dist
231+
tar -czvf "dist/DLTViewer-qt6-macos15.tgz" -C $(pwd)/install .
232+
233+
- name: Upload artifacts
234+
uses: actions/upload-artifact@v4
235+
if: ${{ success() }}
236+
with:
237+
name: DLTViewer-macos15-qt6
238+
path: build/dist/DLTViewer*.tgz
239+
240+

0 commit comments

Comments
 (0)