* im_ibus.c, im_common.h, skk/ef_str_parser.c, gtkxlfdsel.[ch], #165
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: [push, pull_request] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
container: [ "ubuntu:latest", "ubuntu:22.04", "debian:12", "debian:11", "archlinux:base" ] | |
container: | |
image: ${{ matrix.container }} | |
options: --privileged | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup build environment | |
run: | | |
case "${{ matrix.container }}" in | |
ubuntu*|debian*) | |
apt update | |
apt upgrade -y | |
apt install -y build-essential flex libutempter-dev libgtk-3-dev libvterm-dev libvte-2.91-dev libsdl2-dev libfribidi-dev libuim-dev libfcitx5core-dev libfcitx5gclient-dev libscim-dev libibus-1.0-dev libm17n-dev libwnn-dev libcanna1g-dev libssh2-1-dev curl | |
;; | |
archlinux*) | |
pacman -Syyu --noconfirm base-devel intltool libutempter wayland gtk3 libvterm vte3 sdl2 fribidi fcitx5 fcitx5-gtk scim ibus m17n-lib libssh2 curl | |
;; | |
esac | |
- name: configure | |
run: | | |
(cd uitoolkit/wayland && sh ./rescanproto.sh) | |
CONFIGURE_ARGS="--with-gui=xlib,fb,console,wayland,sdl2" | |
CFLAGS="-Wall -Werror=incompatible-pointer-types -g -O2" ./configure ${CONFIGURE_ARGS} | |
- name: build | |
run: | | |
make | |
make install | |
(cd libvterm && make && make install) | |
(cd gtk && make && make install) | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup build environment | |
run: | | |
brew install pkg-config | |
- name: configure | |
run: | | |
CONFIGURE_ARGS="--with-gui=quartz" | |
CFLAGS="-Wall -Werror=incompatible-pointer-types -g -O2" ./configure ${CONFIGURE_ARGS} | |
- name: build | |
run: | | |
make | |
sudo make install | |
build-netbsd: | |
name: "build-netbsd (NetBSD/amd64 10.1 with pkgsrc)" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install packages and run configure and make (on the NetBSD VM) | |
uses: vmactions/netbsd-vm@v1 | |
with: | |
release: "10.1" | |
copyback: false | |
prepare: | | |
ftp -o - https://cdn.NetBSD.org/pub/NetBSD/NetBSD-`uname -r`/amd64/binary/sets/xbase.tar.xz | tar -C / -zxpf - ./usr/X11R7/bin ./usr/X11R7/include ./usr/X11R7/lib ./usr/X11R7/share | |
ftp -o - https://cdn.NetBSD.org/pub/NetBSD/NetBSD-`uname -r`/amd64/binary/sets/xcomp.tar.xz | tar -C / -zxpf - ./usr/X11R7/bin ./usr/X11R7/include ./usr/X11R7/lib ./usr/X11R7/share | |
# Explicitly update glib2 first. It has been pre-installed by | |
# vmactions/netbsd-builder for fuse-sshfs | |
pkg_add -u glib2 | |
pkg_add -u pkgconf gettext-tools libtool-base | |
pkg_add -u cairo Canna-lib fribidi gdk-pixbuf2 gtk3+ fcitx ibus m17n-lib harfbuzz scim uim ja-FreeWnn-lib libXft SDL2 libssh2 vte3 | |
run: | | |
CFLAGS="-Wall -Werror=incompatible-pointer-types -g -O2" CPPFLAGS="-I/usr/pkg/include" ./configure --x-includes=/usr/X11R7/include --x-libraries=/usr/X11R7/lib --with-imagelib=gdk-pixbuf --with-gui=xlib,wscons,sdl2 --with-type-engins=xcore,xft,cairo --enable-anti-alias | |
make | |
make install |