From 8f3d9dd9f40c9544d9b17106e26f18868526c3ed Mon Sep 17 00:00:00 2001 From: John Novak Date: Mon, 15 Jul 2024 18:44:29 +1000 Subject: [PATCH] Disable 32-bit Windows builds --- .github/workflows/main.yml | 60 +++++++++++++++++++------------------- config.nims | 4 +-- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f3d4462..07dbce0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -99,36 +99,36 @@ jobs: - name: Install Nim dependencies run: nimble -y install koi osdialog riff semver winim with - - name: Inject version strings (32-bit) - run: | - $VERSION=nim versionAndGitHash - "VERSION=$VERSION" >> $GITHUB_ENV - - $INST_PACKAGE_NAME=nim --cpu:i386 winInstallerPackageName - "INST_PACKAGE_NAME=$INST_PACKAGE_NAME" >> $GITHUB_ENV - - $PORT_PACKAGE_NAME=nim --cpu:i386 winPortablePackageName - "PORT_PACKAGE_NAME=$PORT_PACKAGE_NAME" >> $GITHUB_ENV - - - name: Windows 32-bit build - run: | - nim -f --cpu:i386 release - nim --cpu:i386 packageWinInstaller - nim --cpu:i386 packageWinPortable - - - name: Upload 32-bit installer release artifact - uses: actions/upload-artifact@v4 - with: - name: gridmonger-v${{ env.VERSION }}-win32-setup - path: ${{ env.INST_PACKAGE_NAME }} - - - name: Upload 32-bit portable release artifact - uses: actions/upload-artifact@v4 - with: - name: gridmonger-v${{ env.VERSION }}-win32-portable - path: ${{ env.PORT_PACKAGE_NAME }} - - +# - name: Inject version strings (32-bit) +# run: | +# $VERSION=nim versionAndGitHash +# "VERSION=$VERSION" >> $GITHUB_ENV +# +# $INST_PACKAGE_NAME=nim --cpu:i386 winInstallerPackageName +# "INST_PACKAGE_NAME=$INST_PACKAGE_NAME" >> $GITHUB_ENV +# +# $PORT_PACKAGE_NAME=nim --cpu:i386 winPortablePackageName +# "PORT_PACKAGE_NAME=$PORT_PACKAGE_NAME" >> $GITHUB_ENV +# +# - name: Windows 32-bit build +# run: | +# nim -f --cpu:i386 release +# nim --cpu:i386 packageWinInstaller +# nim --cpu:i386 packageWinPortable +# +# - name: Upload 32-bit installer release artifact +# uses: actions/upload-artifact@v4 +# with: +# name: gridmonger-v${{ env.VERSION }}-win32-setup +# path: ${{ env.INST_PACKAGE_NAME }} +# +# - name: Upload 32-bit portable release artifact +# uses: actions/upload-artifact@v4 +# with: +# name: gridmonger-v${{ env.VERSION }}-win32-portable +# path: ${{ env.PORT_PACKAGE_NAME }} +# +# - name: Inject version strings (64-bit) run: | $INST_PACKAGE_NAME=nim winInstallerPackageName diff --git a/config.nims b/config.nims index 4687998..7d16efd 100755 --- a/config.nims +++ b/config.nims @@ -9,8 +9,8 @@ var exeName = "gridmonger".toExe var exeNameMacArm64 = exeName & "-arm64" var exeNameMacX64 = exeName & "-x64" -#const mingw32Dir = r"C:\dev\mingw32" -const mingw32Dir = r"C:\msys64\mingw32" +const mingw32Dir = r"C:\dev\mingw32" +#const mingw32Dir = r"C:\msys64\mingw32" const rootDir = getCurrentDir() const version = staticRead("CURRENT_VERSION").strip