From de8f63f5a5ad97e99c1dbfa50728404699105fac Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 1 Nov 2024 02:30:07 +0300 Subject: [PATCH] Use bash script to run Jom in wine --- .github/workflows/build.yml | 2 +- scripts/win-cross-nmake.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 scripts/win-cross-nmake.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 158735c312e..584727836d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -230,7 +230,7 @@ jobs: run: | wget http://download.qt.io/official_releases/jom/jom.zip sudo unzip jom.zip -d /usr/local/bin/jom - sudo ln -sf /usr/local/bin/jom/jom.exe /usr/local/bin/jom/nmake.exe + sudo cp "$(pwd)/scripts/win-cross-nmake.sh" /usr/local/bin/jom/nmake.exe rm jom.zip echo "VCINSTALLDIR=/usr/local/bin/jom" >> $GITHUB_ENV echo "VSINSTALLDIR=" >> $GITHUB_ENV diff --git a/scripts/win-cross-nmake.sh b/scripts/win-cross-nmake.sh new file mode 100755 index 00000000000..a6fcbf782c4 --- /dev/null +++ b/scripts/win-cross-nmake.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +export WINEDEBUG="-all" + +wine /usr/local/bin/jom/jom.exe