build: drop support for 32-bit windows target

This commit is contained in:
tobtoht 2024-08-18 01:45:01 +02:00
parent a1dc85c537
commit 687d904059
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472
2 changed files with 2 additions and 11 deletions

View File

@ -38,9 +38,6 @@ jobs:
- name: "ARM v8" - name: "ARM v8"
host: "aarch64-linux-gnu" host: "aarch64-linux-gnu"
packages: "python3 gperf g++-aarch64-linux-gnu" packages: "python3 gperf g++-aarch64-linux-gnu"
- name: "i686 Win"
host: "i686-w64-mingw32"
packages: "python3 g++-mingw-w64-i686"
- name: "i686 Linux" - name: "i686 Linux"
host: "i686-pc-linux-gnu" host: "i686-pc-linux-gnu"
packages: "gperf cmake g++-multilib python3-zmq" packages: "gperf cmake g++-multilib python3-zmq"
@ -96,7 +93,7 @@ jobs:
- name: install dependencies - name: install dependencies
run: sudo apt update; sudo apt -y install build-essential libtool cmake autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache ${{ matrix.toolchain.packages }} run: sudo apt update; sudo apt -y install build-essential libtool cmake autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache ${{ matrix.toolchain.packages }}
- name: prepare w64-mingw32 - name: prepare w64-mingw32
if: ${{ matrix.toolchain.host == 'x86_64-w64-mingw32' || matrix.toolchain.host == 'i686-w64-mingw32' }} if: ${{ matrix.toolchain.host == 'x86_64-w64-mingw32' }}
run: | run: |
sudo update-alternatives --set ${{ matrix.toolchain.host }}-g++ $(which ${{ matrix.toolchain.host }}-g++-posix) sudo update-alternatives --set ${{ matrix.toolchain.host }}-g++ $(which ${{ matrix.toolchain.host }}-g++-posix)
sudo update-alternatives --set ${{ matrix.toolchain.host }}-gcc $(which ${{ matrix.toolchain.host }}-gcc-posix) sudo update-alternatives --set ${{ matrix.toolchain.host }}-gcc $(which ${{ matrix.toolchain.host }}-gcc-posix)

View File

@ -22,12 +22,6 @@ packages:
- "python" - "python"
- "cmake" - "cmake"
alternatives: alternatives:
-
package: "i686-w64-mingw32-g++"
path: "/usr/bin/i686-w64-mingw32-g++-posix"
-
package: "i686-w64-mingw32-gcc"
path: "/usr/bin/i686-w64-mingw32-gcc-posix"
- -
package: "x86_64-w64-mingw32-g++" package: "x86_64-w64-mingw32-g++"
path: "/usr/bin/x86_64-w64-mingw32-g++-posix" path: "/usr/bin/x86_64-w64-mingw32-g++-posix"
@ -40,7 +34,7 @@ remotes:
files: [] files: []
script: | script: |
WRAP_DIR=$HOME/wrapped WRAP_DIR=$HOME/wrapped
HOSTS="i686-w64-mingw32 x86_64-w64-mingw32" HOSTS="x86_64-w64-mingw32"
FAKETIME_HOST_PROGS="windres objcopy" FAKETIME_HOST_PROGS="windres objcopy"
FAKETIME_PROGS="date zip" FAKETIME_PROGS="date zip"
HOST_CFLAGS="-O2 -g" HOST_CFLAGS="-O2 -g"