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 4c9e882 commit 372724c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Expand Up @@ -38,12 +38,12 @@ jobs:
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
- name: Build Unix
if: runner.os == 'macOS' || runner.os == 'Linux'
run: |
cmake --build build --parallel --config Release
- name: Build
- name: Build Windows
if: runner.os == 'Windows'
run: |
cmake --build build --parallel --target ALL_BUILD --config Release
Expand All @@ -57,6 +57,8 @@ jobs:
- name: Create dmg
if: runner.os == 'macOS'
run: |
ls build
tree .
macdeployqt qhot.app/ -qmldir=../qml -dmg
ls
ls qhot.app
Expand All @@ -77,12 +79,12 @@ jobs:
SYSTEM32_DLLS: 'VCRUNTIME140.dll VCRUNTIME140_1.dll MSVCP140.dll MSVCP140_1.dll'
run: |
mkdir output
cp build/Release/pingviewer.exe output/pingviewer.exe
cp build/Release/qhot.exe output/qhot.exe
if (($env:OPENSSL) -and (Test-Path $env:OPENSSL -pathType container)) {
Copy-Item ${env:OPENSSL}\*.dll -Destination output -Force
}
foreach ($I in (${env:SYSTEM32_DLLS} -split ' ')) { copy ${env:SYSTEM32}\$I output\ }
windeployqt --qmldir qml --release output/pingviewer.exe --verbose=2
windeployqt --qmldir qml --release output/qhot.exe --verbose=2
ls
ls output
Expand Down

0 comments on commit 372724c

Please sign in to comment.