shithub: psxe

Download patch

ref: a6366b678095acd5d5388576ce1e8cb5574e7c88
parent: f1b55d5ae0f8a7b7fae15838a22ba10dcfc8671e
author: allkern <lisandroaalarcon@gmail.com>
date: Sat May 11 09:37:05 EDT 2024

Remove 32-bit Windows builds from Actions

Sadly, GHA doesn't seem to support 32-bit Windows MinGW builds

--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -14,7 +14,7 @@
         fetch-depth: 0
     - name: Run build-deps
       run: ./build-deps.ps1
-    - name: 64-bit build
+    - name: Run build-win64
       run: |
            ./build-win64.ps1
            New-Item -Path "psxe" -ItemType Directory
@@ -22,16 +22,4 @@
     - uses: actions/upload-artifact@v4
       with:
         name: psxe-win64-latest
-        path: psxe/
-    - name: Cleanup
-      run: ./build-clean
-    - name: 32-bit build
-      run: |
-           Remove-Item -Path psxe -Recurse
-           ./build-win32.ps1
-           New-Item -Path "psxe" -ItemType Directory
-           Copy-Item -Recurse "bin" -Destination "psxe"
-    - uses: actions/upload-artifact@v4
-      with:
-        name: psxe-win32-latest
         path: psxe/
\ No newline at end of file
--- a/build-win32.ps1
+++ b/build-win32.ps1
@@ -24,7 +24,7 @@
     -DREP_COMMIT_HASH="`"$($COMMIT_HASH)`"" `
     -DOS_INFO="`"$($OS_INFO)`"" `
     -L"$($SDL2_DIR)\lib" `
-    -m32 -lSDL2main -lSDL2 -Wno-overflow `
+    -lSDL2main -lSDL2 -Wno-overflow `
     -Wall -pedantic -DLOG_USE_COLOR `
     -Wno-address-of-packed-member `
     -ffast-math -Ofast -g -flto
--