History

ci/mingw: add exe_wrapper to cross file

Allows running complied binaries on build machine.

Kacper Michajłow committed 2 years ago

Commit bb078b81 parent 7e8c8872 files · +6 −1Browse files

Unified · Split

2 files
  1. .github/workflows/build.yml +1 −1
  2. ci/build-mingw64.sh +5 −0
.github/workflows/build.yml+1−1
@@ -54,7 +54,7 @@ jobs: · 53 unmodified lines
54 run: |54 run: |
55 sudo dpkg --add-architecture i38655 sudo dpkg --add-architecture i386
56 sudo apt-get update56 sudo apt-get update
57 sudo apt-get install -y ccache g++-mingw-w64 gcc-multilib nasm ninja-build pkg-config python3-pip wine57 sudo apt-get install -y ccache g++-mingw-w64 gcc-multilib nasm ninja-build pkg-config python3-pip wine wine32 wine64
58 sudo python3 -m pip install meson58 sudo python3 -m pip install meson
59 59
60 - name: Build libraries60 - name: Build libraries
ci/build-mingw64.sh+5−0
@@ -23,6 +23,10 @@ export LDFLAGS="-fstack-protector-strong" · 22 unmodified lines
23export PKG_CONFIG_SYSROOT_DIR="$prefix_dir"23export PKG_CONFIG_SYSROOT_DIR="$prefix_dir"
24export PKG_CONFIG_LIBDIR="$PKG_CONFIG_SYSROOT_DIR/lib/pkgconfig"24export PKG_CONFIG_LIBDIR="$PKG_CONFIG_SYSROOT_DIR/lib/pkgconfig"
25 25
26if [[ "$TARGET" == "i686-"* ]]; then
27 export WINEPATH="`$CC -print-file-name=`;/usr/$TARGET/lib"
28fi
29
26# autotools(-like)30# autotools(-like)
27commonflags="--disable-static --enable-shared"31commonflags="--disable-static --enable-shared"
28 32
@@ -41,6 +45,7 @@ strip = '${TARGET}-strip' · 12 unmodified lines
41pkgconfig = 'pkg-config'45pkgconfig = 'pkg-config'
42windres = '${TARGET}-windres'46windres = '${TARGET}-windres'
43dlltool = '${TARGET}-dlltool'47dlltool = '${TARGET}-dlltool'
48exe_wrapper = 'wine'
44[host_machine]49[host_machine]
45system = 'windows'50system = 'windows'
46cpu_family = '${fam}'51cpu_family = '${fam}'

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t