switch to void container for compiling
ci/woodpecker/tag/woodpecker Pipeline was successful
Details
ci/woodpecker/tag/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
2f084687e0
commit
137e3bbd3e
|
@ -4,24 +4,17 @@ when:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
build:
|
build:
|
||||||
image: gcc
|
image: ghcr.io/void-linux/void-glibc
|
||||||
|
environment:
|
||||||
|
- DEPENDENCIES=bash findutils base-devel libX11-devel libXft-devel libXinerama-devel pango-devel
|
||||||
commands: |
|
commands: |
|
||||||
apt-get update
|
xbps-install -Syu xbps $${DEPENDENCIES}
|
||||||
apt-get install -y \
|
|
||||||
libx11-dev libx11-xcb-dev libxcb1-dev \
|
|
||||||
libxcb-res0-dev libxft-dev libxinerama-dev \
|
|
||||||
libfreetype6-dev libfontconfig1-dev \
|
|
||||||
libpango1.0-dev
|
|
||||||
cp -f config.mk patches.h dwm-flexipatch/
|
cp -f config.mk patches.h dwm-flexipatch/
|
||||||
flexipatch-finalizer/flexipatch-finalizer.sh -r -d dwm-flexipatch -o dwm-final
|
bash flexipatch-finalizer/flexipatch-finalizer.sh -r -d dwm-flexipatch -o dwm-final
|
||||||
# for patch in patches/*.diff; do
|
|
||||||
# patch -d dwm-final <"$patch"
|
|
||||||
# done
|
|
||||||
cp -f config.h dwm-final/
|
cp -f config.h dwm-final/
|
||||||
cd dwm-final || exit 1
|
cd dwm-final || exit 1
|
||||||
make clean install DESTDIR="$${CI_WORKSPACE}/pkg" PREFIX="/usr"
|
make clean install DESTDIR="$${CI_WORKSPACE}/pkg" PREFIX="/usr"
|
||||||
|
|
||||||
|
|
||||||
package-xbps:
|
package-xbps:
|
||||||
image: ghcr.io/void-linux/void-musl-busybox
|
image: ghcr.io/void-linux/void-musl-busybox
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -7,8 +7,8 @@ VERSION = 6.4
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
MANPREFIX = ${PREFIX}/share/man
|
MANPREFIX = ${PREFIX}/share/man
|
||||||
|
|
||||||
X11INC = /usr/X11R6/include
|
X11INC = /usr/include/X11
|
||||||
X11LIB = /usr/X11R6/lib
|
X11LIB = /usr/lib
|
||||||
|
|
||||||
# FreeBSD (uncomment)
|
# FreeBSD (uncomment)
|
||||||
#X11INC = /usr/local/include
|
#X11INC = /usr/local/include
|
||||||
|
|
Loading…
Reference in New Issue