Skip to content

Commit

Permalink
Disable 32-bit Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
John Novak committed Jul 15, 2024
1 parent 3a99b7c commit 8f3d9dd
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f3d9dd

Please sign in to comment.