summarylogtreecommitdiffstats
path: root/0124-CI-add-a-cross-build-job.patch
diff options
context:
space:
mode:
Diffstat (limited to '0124-CI-add-a-cross-build-job.patch')
-rw-r--r--0124-CI-add-a-cross-build-job.patch77
1 files changed, 0 insertions, 77 deletions
diff --git a/0124-CI-add-a-cross-build-job.patch b/0124-CI-add-a-cross-build-job.patch
deleted file mode 100644
index 38b4452d8fd6..000000000000
--- a/0124-CI-add-a-cross-build-job.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-From 3ea2b7adc6859e939b75c02260d9512de758eb5c Mon Sep 17 00:00:00 2001
-From: Christoph Reiter <reiter.christoph@gmail.com>
-Date: Sat, 31 Jul 2021 18:04:05 +0200
-Subject: [PATCH 124/N] CI: add a cross build job
-
----
- .github/workflows/mingw.yml | 57 +++++++++++++++++++++++++++++++++++++
- 1 file changed, 57 insertions(+)
-
-diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml
-index 16a96b5..af2f57c 100644
---- a/.github/workflows/mingw.yml
-+++ b/.github/workflows/mingw.yml
-@@ -149,3 +149,60 @@ jobs:
- name: build-${{ matrix.msystem }}
- path: _build/python.tar.zst
-
-+ cross:
-+ runs-on: ubuntu-latest
-+ container:
-+ image: archlinux:base-devel
-+ steps:
-+ - uses: actions/checkout@v2
-+ - name: Install deps
-+ run: |
-+ pacman --noconfirm -Suuy
-+ pacman --needed --noconfirm -S mingw-w64-gcc autoconf-archive autoconf automake python zip
-+
-+ - name: Build
-+ run: |
-+ autoreconf -vfi
-+
-+ mkdir _build && cd _build
-+
-+ CFLAGS="-O2 -D_WIN32_WINNT=0x0601" \
-+ ../configure \
-+ --host=x86_64-w64-mingw32 \
-+ --build=x86_64-pc-linux-gnu \
-+ --enable-shared \
-+ --with-nt-threads \
-+ --with-system-expat \
-+ --with-system-ffi \
-+ --with-system-libmpdec \
-+ --without-ensurepip \
-+ --without-c-locale-coercion \
-+ --enable-loadable-sqlite-extensions
-+
-+ make -j8
-+
-+ make install DESTDIR="$(pwd)/install"
-+ cp /usr/x86_64-w64-mingw32/bin/libwinpthread-1.dll install/usr/local/bin
-+
-+ - name: 'Zip files'
-+ run: |
-+ zip -r install.zip _build/install
-+
-+ - name: Upload
-+ uses: actions/upload-artifact@v2
-+ with:
-+ name: build-cross
-+ path: install.zip
-+
-+ cross-test:
-+ needs: [cross]
-+ runs-on: windows-latest
-+ steps:
-+ - uses: actions/download-artifact@v2
-+ with:
-+ name: build-cross
-+
-+ - name: 'Run tests'
-+ run: |
-+ 7z x install.zip
-+ ./_build/install/usr/local/bin/python3.exe -c "import sysconfig, pprint; pprint.pprint(sysconfig.get_config_vars())"
---
-2.32.0
-