Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Mar 12, 2023
1 parent 372724c commit 1797e9f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
matrix:
include:
- os: macos-latest
DEPLOY_PATH: qhot-*.dmg
DEPLOY_PATH: qhot.dmg
- os: ubuntu-latest
DEPLOY_PATH: qhot-*.AppImage
- os: windows-latest
DEPLOY_PATH: qhot-*.zip
DEPLOY_PATH: qhot-Windows.zip

steps:
- name: Checkout repo
Expand Down Expand Up @@ -57,11 +57,10 @@ jobs:
- name: Create dmg
if: runner.os == 'macOS'
run: |
ls build
tree .
macdeployqt qhot.app/ -qmldir=../qml -dmg
ls
ls qhot.app
cd build/src
macdeployqt qhot.app -qmldir=../../qml -dmg
cd ../..
cp build/src/qhot.dmg .
- name: Create Appimage
if: runner.os == 'Linux'
Expand All @@ -85,8 +84,13 @@ jobs:
}
foreach ($I in (${env:SYSTEM32_DLLS} -split ' ')) { copy ${env:SYSTEM32}\$I output\ }
windeployqt --qmldir qml --release output/qhot.exe --verbose=2
ls
ls output
- name: Zip windows
uses: vimtor/action-zip@v1
if: runner.os == 'Windows'
with:
files: output
dest: ${{ matrix.DEPLOY_PATH }}

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ if (EXISTS ${QT_INSTALL_PREFIX})
)
endif()

set_target_properties(qhot PROPERTIES MACOSX_BUNDLE ON)

0 comments on commit 1797e9f

Please sign in to comment.