aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-12-27 05:50:15 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-12-27 05:50:15 +0300
commita2ef990a80130df8c4a6e043b354e7aa8f7172db (patch)
tree2e3428844e83f5aba7866f267d88020e5511b45f /.github/workflows
parent63fc58fdabf5ad0d35ae567773d16e92b65d1ee6 (diff)
downloadsciteco-a2ef990a80130df8c4a6e043b354e7aa8f7172db.tar.gz
nightly builds now include 64-bit Windows builds (MINGW64)
* 32-bit binaries have been dropped, even though we could build both. But there is virtually no demand for 64-bit binaries left. * I continue to build 32-bit versions during CI, so that at least something still builds and tests under 32-bit.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/nightly.yml56
1 files changed, 28 insertions, 28 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 11be950..a2c9f97 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -177,7 +177,7 @@ jobs:
run:
shell: bash.exe --login -eo pipefail "{0}"
env:
- MSYSTEM: MINGW32
+ MSYSTEM: MINGW64
CHERE_INVOKING: 1
steps:
@@ -194,13 +194,13 @@ jobs:
- name: Install Build Dependencies
run: >
pacman -S --noconfirm --needed
- base-devel mingw-w64-i686-autotools mingw-w64-i686-toolchain
- mingw-w64-i686-glib2 mingw-w64-i686-pdcurses
+ base-devel mingw-w64-x86_64-autotools mingw-w64-x86_64-toolchain
+ mingw-w64-x86_64-glib2 mingw-w64-x86_64-pdcurses
groff
- name: Configure Build
env:
- PDCURSES_CFLAGS: -I/mingw32/include/pdcurses/
+ PDCURSES_CFLAGS: -I/mingw64/include/pdcurses/
# FIXME: glib on MinGW supports static linking but the gspawn
# helper binaries are still linked dynamically, forcing us to ship
# all DLLs anyway. Therefore it makes little sense to link SciTECO
@@ -242,20 +242,20 @@ jobs:
- name: Prepare Distribution Directory
env:
- MINGW_BUNDLEDLLS_SEARCH_PATH: /mingw32/bin
+ MINGW_BUNDLEDLLS_SEARCH_PATH: /mingw64/bin
run: |
mkdir temp-bin/
cd temp-bin/
- cp -r /mingw32/bin/{gsciteco.exe,sciteco.exe,grosciteco.tes,tedoc.tes} ./
+ cp -r /mingw64/bin/{gsciteco.exe,sciteco.exe,grosciteco.tes,tedoc.tes} ./
# datadir is relative to bindir
- cp -r /mingw32/bin/{lib,*.tmac} ./
- cp /mingw32/bin/sample.teco_ini .teco_ini
- cp -r /mingw32/share/doc/sciteco/* ./
+ cp -r /mingw64/bin/{lib,*.tmac} ./
+ cp /mingw64/bin/sample.teco_ini .teco_ini
+ cp -r /mingw64/share/doc/sciteco/* ./
cp ../COPYING ../ChangeLog ./
- cp /mingw32/bin/gspawn-win32-helper*.exe ./
+ cp /mingw64/bin/gspawn-win64-helper*.exe ./
# Collect DLLs for all included binaries
for f in *.exe; do ../contrib/mingw-bundledlls --copy $f; done
- zip -9 -r ../sciteco-pdcurses_nightly_win32.zip .
+ zip -9 -r ../sciteco-pdcurses_nightly_win64.zip .
- name: Archive Windows Distribution (PDCurses)
uses: pyTooling/Actions/releaser/composite@v1.0.5
with:
@@ -274,7 +274,7 @@ jobs:
run:
shell: bash.exe --login -eo pipefail "{0}"
env:
- MSYSTEM: MINGW32
+ MSYSTEM: MINGW64
CHERE_INVOKING: 1
steps:
@@ -291,8 +291,8 @@ jobs:
- name: Install Build Dependencies
run: >
pacman -S --noconfirm --needed
- base-devel mingw-w64-i686-autotools mingw-w64-i686-toolchain
- mingw-w64-i686-glib2 mingw-w64-i686-gtk3 mingw-w64-i686-librsvg
+ base-devel mingw-x86_64-i686-autotools mingw-x86_64-i686-toolchain
+ mingw-x86_64-i686-glib2 mingw-x86_64-i686-gtk3 mingw-x86_64-i686-librsvg
groff
- name: Configure Build
@@ -316,44 +316,44 @@ jobs:
- name: Prepare Distribution Directory
env:
- MINGW_BUNDLEDLLS_SEARCH_PATH: /mingw32/bin
+ MINGW_BUNDLEDLLS_SEARCH_PATH: /mingw64/bin
run: |
mkdir temp-bin
cd temp-bin
- cp /mingw32/bin/{sciteco.exe,grosciteco.tes,tedoc.tes} ./
+ cp /mingw64/bin/{sciteco.exe,grosciteco.tes,tedoc.tes} ./
# datadir is relative to bindir
- cp -r /mingw32/bin/{lib,*.tmac} ./
+ cp -r /mingw64/bin/{lib,*.tmac} ./
# FIXME: Maybe there should be a separate win32/.teco_ini with
# a few pre-enabled settings?
- cp /mingw32/bin/sample.teco_ini .teco_ini
- cp /mingw32/bin/fallback.css .teco_css
- cp -r /mingw32/share/doc/sciteco/* ./
+ cp /mingw64/bin/sample.teco_ini .teco_ini
+ cp /mingw64/bin/fallback.css .teco_css
+ cp -r /mingw64/share/doc/sciteco/* ./
cp ../COPYING ../ChangeLog ./
- cp /mingw32/bin/gspawn-win32-helper*.exe ./
+ cp /mingw64/bin/gspawn-win64-helper*.exe ./
# Collect DLLs for all included binaries
for f in *.exe; do ../contrib/mingw-bundledlls --copy $f; done
#mkdir share
- #cp /mingw32/share/loader.cache share/
- #glib-compile-schemas /mingw32/share/glib-2.0/schemas
+ #cp /mingw64/share/loader.cache share/
+ #glib-compile-schemas /mingw64/share/glib-2.0/schemas
#mkdir -p share/glib-2.0
- #cp /mingw32/share/glib-2.0/gschemas.compiled share/glib-2.0/
+ #cp /mingw64/share/glib-2.0/gschemas.compiled share/glib-2.0/
mkdir -p share/icons/Adwaita
# FIXME: It should be sufficient to package the SVG icons,
# but I cannot get it to work. Perhaps index.theme would have to be tweaked.
# We could also try to include a pure scalable icon theme.
- #cp -r /mingw32/share/icons/Adwaita/{scalable*,index.theme} share/icons/Adwaita/
- cp -r /mingw32/share/icons/Adwaita/* share/icons/Adwaita/
+ #cp -r /mingw64/share/icons/Adwaita/{scalable*,index.theme} share/icons/Adwaita/
+ cp -r /mingw64/share/icons/Adwaita/* share/icons/Adwaita/
gtk-update-icon-cache-3.0 share/icons/Adwaita/
# FIXME: It's possible to change the location of loaders.cache via $GDK_PIXBUF_MODULE_FILE.
# If we did that, we could avoid "reusing" the lib/ directory.
# This is important when somebody changes $SCITECOPATH.
- cp /mingw32/lib/gdk-pixbuf-2.0/2.10.0/loaders/{pixbufloader_svg.dll,libpixbufloader-png.dll} .
+ cp /mingw64/lib/gdk-pixbuf-2.0/2.10.0/loaders/{pixbufloader_svg.dll,libpixbufloader-png.dll} .
# Collect DLLs for all pixbuf loaders into the root directory
for f in *pixbufloader*.dll; do ../contrib/mingw-bundledlls --copy $f; done
mkdir -p lib/gdk-pixbuf-2.0/2.10.0/loaders/
mv *pixbufloader*.dll lib/gdk-pixbuf-2.0/2.10.0/loaders/
cp ../win32/loaders.cache lib/gdk-pixbuf-2.0/2.10.0/
- zip -9 -r ../sciteco-gtk3_nightly_win32.zip .
+ zip -9 -r ../sciteco-gtk3_nightly_win64.zip .
- name: Archive Windows Distribution (GTK+ 3)
uses: pyTooling/Actions/releaser/composite@v1.0.5
with: