From 39f497d9676ad21962bd3275939bbbc8afe326a8 Mon Sep 17 00:00:00 2001 From: Dadoum Date: Wed, 27 Dec 2023 22:10:24 +0100 Subject: [PATCH] Attempt #7 (the last one?) --- .github/workflows/build-qt.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-qt.yml b/.github/workflows/build-qt.yml index 6abfc29..5548cd6 100644 --- a/.github/workflows/build-qt.yml +++ b/.github/workflows/build-qt.yml @@ -86,6 +86,10 @@ jobs: "-Xcc=-F", "-Xcc=$HOME/ldc2-1.33.0-osx-x86_64/lib", "-Xcc=-mmacosx-version-min=12.6", + "-L=-platform_version", + "-L=macos", + "-L=12.6.0", + "-L=0.0.0", "-defaultlib=phobos2-ldc,druntime-ldc", ]; // default switches appended after all explicit command-line switches @@ -182,6 +186,10 @@ jobs: "-Xcc=-F", "-Xcc=$HOME/ldc2-1.33.0-osx-arm64/lib", "-Xcc=-mmacosx-version-min=12.6", + "-L=-platform_version", + "-L=macos", + "-L=12.6.0", + "-L=0.0.0", "-defaultlib=phobos2-ldc,druntime-ldc", ]; // default switches appended after all explicit command-line switches @@ -272,8 +280,8 @@ jobs: - name: Rename run: | mkdir "${{github.workspace}}/bin/platforms" - cp $Qt5_DIR/plugins/platforms/qwindows.dll "${{github.workspace}}/bin/platforms" - cp $Qt5_DIR/bin/Qt5Core.dll $Qt5_DIR/bin/Qt5Gui.dll $Qt5_DIR/bin/Qt5Widgets.dll "${{github.workspace}}/bin" + cp $env:Qt5_DIR + '/plugins/platforms/qwindows.dll' "${{github.workspace}}/bin/platforms" + cp $env:Qt5_DIR + '/bin/Qt5Core.dll' $env:Qt5_DIR + '/bin/Qt5Gui.dll' $env:Qt5_DIR + '/bin/Qt5Widgets.dll' "${{github.workspace}}/bin" zip -r sideloader-windows.zip bin/* - uses: actions/upload-artifact@v3