File tree Expand file tree Collapse file tree 1 file changed +16
-18
lines changed
Expand file tree Collapse file tree 1 file changed +16
-18
lines changed Original file line number Diff line number Diff line change 1- name : Build AMD Linux Application
1+ name : Build and Package Application with Qt Libraries
22
33on :
44 push :
@@ -31,28 +31,26 @@ jobs:
3131 - name : Build Project
3232 run : |
3333 cd build
34- make VERBOSE=1
34+ make VERBOSE=1 || (cat Makefile && exit 1)
3535
36- - name : Install FUSE
36+ - name : Collect Qt Libraries
3737 run : |
38- sudo apt-get update
39- sudo apt-get install -y libfuse2
40-
41- - name : Download linuxdeployqt
42- run : |
43- wget -O linuxdeployqt.AppImage https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
44- chmod +x linuxdeployqt.AppImage
45-
46- - name : Package Application
47- run : |
48- ./linuxdeployqt.AppImage ./build/SerialPortDebugger -appimage
38+ cd build
39+ ldd SerialPortDebugger > /tmp/ldd-output.txt
40+ cd /tmp
41+ tar -czvf QtLibraries.tar.gz ldd-output.txt
4942
50- - name : Rename AppImage
43+ - name : Package Application and Libraries
5144 run : |
52- mv build/SerialPortDebugger.AppImage .
45+ cd build
46+ tar -czvf Application_and_Libraries.tar.gz SerialPortDebugger /tmp/QtLibraries.tar.gz
5347
5448 - name : Archive Artifacts
5549 uses : actions/upload-artifact@v4
5650 with :
57- name : Linux-Build
58- path : SerialPortDebugger.AppImage
51+ name : Application-and-Libraries
52+ path : build/Application_and_Libraries.tar.gz
53+
54+ - name : Clean up
55+ run : |
56+ rm -rf /tmp/ldd-output.txt /tmp/QtLibraries.tar.gz
You can’t perform that action at this time.
0 commit comments