-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,11 +29,6 @@ jobs: | |
with: | ||
submodules: recursive | ||
|
||
# - name: Install dependencies | ||
# run: | | ||
# sudo apt-get update | ||
# sudo apt-get install -y qt5-default | ||
|
||
- name: Install Qt | ||
uses: jurplel/[email protected] | ||
with: | ||
|
@@ -67,30 +62,18 @@ jobs: | |
sips -z 512 512 $input_filepath --out "${output_iconset_name}/icon_512x512.png" | ||
cp $input_filepath "${output_iconset_name}/icon_1024x1024.png" | ||
iconutil -c icns $output_iconset_name | ||
echo "ls des icons de toutes les tailles" | ||
ls $output_iconset_name | ||
echo "ls du icns tant attendu" | ||
ls -lrt | ||
echo -e "\n---\nls icons directory: ${output_iconset_name}\n---\n" | ||
ls ${output_iconset_name} | ||
mv icon.icns cbapi-qt-demo.icns | ||
echo -e "\n---\nls *.icns\n---\n" | ||
ls *.icns | ||
- name: Package | ||
- name: Create DMG Package | ||
working-directory: ${{ env.SOURCE_DIR }}/build | ||
run: | | ||
#ls -lrt | ||
#find . | ||
macdeployqt cbapi-qt-demo.app -dmg | ||
#find . | ||
find . |grep dmg | ||
#otool -L QtGui.framework/QtGui | ||
#no need already there option CONFIG +=app_bundle is added automaticaly by qmake on Mac | ||
#mkdir cbapi-qt-demo.app/Contents/Frameworks | ||
# cp -R .../QtCore.framework cbapi-qt-demo.app/Contents/Frameworks | ||
# cp -R .../QtGui.framework cbapi-qt-demo.app/Contents/Frameworks | ||
echo -e "\n---\nls *.dmg\n---\n" | ||
ls *.dmg | ||
- name: Save build artifact | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,3 +99,6 @@ TRANSLATIONS = cbapi-qt-demo_fr_FR.ts | |
|
||
DISTFILES += \ | ||
README.md | ||
|
||
#Icon for Mac OS | ||
ICON = cbapi-qt-demo.icns |