File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 with :
5858 name : FastTrack-Cli
5959 path : ./build/bin/fasttrack-cli.run
60+
61+ test_bundle :
62+ runs-on : ubuntu-latest
63+ needs : build_linux
64+ steps :
65+ - name : download artifact
66+ uses : actions/download-artifact@v4
67+ with :
68+ name : FastTrack-Cli
69+ path : FastTrack-Cli
70+
71+ - name : Run FastTrack executable
72+ run : |
73+ cd FastTrack-Cli
74+ chmod +x fasttrack-cli.run
75+ ./fasttrack-cli.run -- --help
Original file line number Diff line number Diff line change 8181 with :
8282 name : FastTrack-Cli.dmg
8383 path : ./build/bin/FastTrack-Cli.dmg
84+
85+ test_bundle :
86+ runs-on : macos-latest
87+ needs : build_mac
88+ steps :
89+ - name : download artifact
90+ uses : actions/download-artifact@v4
91+ with :
92+ name : FastTrack-Cli.dmg
93+ path : FastTrack-Cli
94+
95+ - name : Run FastTrack executable
96+ run : |
97+ ls
98+ cd FastTrack-Cli
99+ ls
100+ hdiutil attach FastTrack-Cli.dmg -mountpoint /Volumes/FastTrackApp
101+ open -w /Volumes/FastTrackApp/FastTrack-Cli.app --args help
Original file line number Diff line number Diff line change @@ -35,17 +35,32 @@ jobs:
3535 cd build
3636 cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DSKIP_TEST=ON ../
3737 mingw32-make
38- mv bin FastTrack
3938 mv bin/fasttrack.exe bin/FastTrack.exe
4039 mv bin/fasttrack-cli.exe bin/FastTrack-Cli.exe
40+ mv bin FastTrack
4141 windeployqt FastTrack/FastTrack.exe --no-translations # https://bugreports.qt.io/browse/QTBUG-62103?jql=status%20%3D%20Open%20AND%20text%20~%20%22windeployqt%20platform%22 and https://bugreports.qt.io/browse/QTBUG-112204
4242 cp ${{ github.workspace }}/src/assets/icon.ico FastTrack
4343 cp ${{ github.workspace }}/Qt/Tools/mingw*/bin/lib*.dll FastTrack
4444 cp ${{ github.workspace }}/OpenCV_MinGW_64/bin/opencv_videoio_ffmpeg${{ env.OPENCV_VERSION_ }}_64.dll FastTrack
4545 cp ${{ github.workspace }}/OpenCV_MinGW_64/bin/libopencv_world${{ env.OPENCV_VERSION_ }}.dll FastTrack
46- cp *.qm FastTrack
46+ # cp *.qm FastTrack
4747 - name : upload_artefact
4848 uses : actions/upload-artifact@v4
4949 with :
5050 name : FastTrack
5151 path : build/FastTrack
52+
53+ test_bundle :
54+ runs-on : windows-latest
55+ needs : build_win
56+ steps :
57+ - name : download artifact
58+ uses : actions/download-artifact@v4
59+ with :
60+ name : FastTrack
61+ path : FastTrack
62+
63+ - name : Run FastTrack executable
64+ run : |
65+ cd FastTrack
66+ ./FastTrack-Cli.exe --help
You can’t perform that action at this time.
0 commit comments