mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-13 17:48:10 +08:00
Merge pull request #5886 from maron2000/fix_mingw32
Fix CI build errors of mingw32 builds (Build libslirp 32-bit library)
This commit is contained in:
3
.github/workflows/mingw32.yml
vendored
3
.github/workflows/mingw32.yml
vendored
@@ -26,9 +26,8 @@ jobs:
|
||||
with:
|
||||
msystem: MINGW32
|
||||
update: true
|
||||
install: git make base-devel mingw-w64-i686-toolchain mingw-w64-i686-libtool mingw-w64-i686-nasm autoconf automake mingw-w64-i686-ncurses mingw-w64-i686-binutils mingw-w64-i686-libslirp
|
||||
install: git make base-devel mingw-w64-i686-toolchain mingw-w64-i686-libtool mingw-w64-i686-nasm autoconf automake mingw-w64-i686-ncurses mingw-w64-i686-binutils
|
||||
- name: Install libslirp
|
||||
if: false
|
||||
run: |
|
||||
# Run this job when MinGW drops 32-bit library support (Other libraries can be built as well)
|
||||
top=`pwd`
|
||||
|
15
.github/workflows/windows-installers.yml
vendored
15
.github/workflows/windows-installers.yml
vendored
@@ -178,7 +178,7 @@ jobs:
|
||||
with:
|
||||
msystem: MINGW32
|
||||
update: true
|
||||
install: git mingw-w64-i686-toolchain mingw-w64-i686-libtool mingw-w64-i686-nasm autoconf automake mingw-w64-i686-libslirp
|
||||
install: git mingw-w64-i686-toolchain mingw-w64-i686-libtool mingw-w64-i686-nasm autoconf automake
|
||||
- name: Update build info
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -191,6 +191,19 @@ jobs:
|
||||
echo "#define GIT_COMMIT_HASH \"${shortsha}\"" >> include/build_timestamp.h
|
||||
echo "#define COPYRIGHT_END_YEAR \"${copyrightyear}\"" >> include/build_timestamp.h
|
||||
cat include/build_timestamp.h
|
||||
- name: Install libslirp
|
||||
run: |
|
||||
# Run this job when MinGW drops 32-bit library support (Other libraries can be built as well)
|
||||
top=`pwd`
|
||||
mkdir pkg
|
||||
cd pkg
|
||||
git clone https://github.com/msys2/MINGW-packages.git
|
||||
pwd
|
||||
cd MINGW-packages
|
||||
cd mingw-w64-libslirp
|
||||
sed -i -e "s/^mingw_arch=\(.*\)/mingw_arch=(\'mingw32\')/" PKGBUILD
|
||||
MINGW_ARCH=MINGW32 makepkg-mingw -sCLf --noconfirm
|
||||
pacman --noconfirm -U mingw-w64-*-any.pkg.tar.zst
|
||||
- name: Build MinGW32 SDL1
|
||||
run: |
|
||||
top=`pwd`
|
||||
|
Reference in New Issue
Block a user