File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -48,19 +48,24 @@ jobs:
4848 run : |
4949 flutter config --enable-windows-desktop
5050
51+ # this is a bit hacky; creates ephemeral project but we remove build artifacts
52+ # for we build it our own in next step
53+ - name : " Create ephemeral project"
54+ continue-on-error : true
55+ run : |
56+ flutter build windows
57+ Remove-Item -Recurse -Force .\build
5158
52- # Build Windows Desktop App for Production (Main Branch)
53- # flutter build windows --release
5459 - name : " Configure Windows Desktop App"
5560 run : |
61+
5662 cmake `
5763 "${{ github.workspace }}/windows" `
5864 -B "${{ github.workspace }}/build/windows/x64" `
5965 -G "Ninja" `
6066 -DFLUTTER_TARGET_PLATFORM=windows-x64 `
6167 -DCMAKE_CXX_COMPILER='clang-cl' `
6268 -DCMAKE_CXX_COMPILER_TARGET=x86_64-pc-windows-msvc
63- cmake --build "${{ github.workspace }}/build/windows/x64" --config Release --target install --verbose
6469 shell : pwsh
6570
6671 # Build Windows Desktop App for Production (Main Branch)
You can’t perform that action at this time.
0 commit comments