mirror of
https://git.sr.ht/~cismonx/bookmarkfs
synced 2025-07-25 10:38:56 +00:00
- No need to `--enable-bookmarkfs-util`, since it's implicitly done by enabling other components. - No need to `--enable-xxhash-inline`, since it's now the default.
51 lines
1.7 KiB
YAML
51 lines
1.7 KiB
YAML
#
|
|
# Copyright (C) 2025 CismonX <admin@cismon.net>
|
|
#
|
|
# Copying and distribution of this file, with or without modification, are
|
|
# permitted in any medium without royalty, provided the copyright notice and
|
|
# this notice are preserved. This file is offered as-is, without any warranty.
|
|
#
|
|
|
|
# Switch to alpine/latest once tcc leaves aports/testing
|
|
image: alpine/edge
|
|
packages: [
|
|
# build
|
|
autoconf, automake, libtool, autoconf-archive, pkgconf, pdpmake, tcc,
|
|
texinfo, musl-dev, tcc-libs-static,
|
|
# lib
|
|
fuse3-dev, libseccomp-dev, sqlite-dev, jansson-dev, nettle-dev,
|
|
readline-dev, tcl-dev, uriparser-dev, xxhash-dev,
|
|
# for managing FUSE mounts
|
|
busybox-mdev-openrc, fuse-openrc, fuse3, umount,
|
|
]
|
|
sources:
|
|
- https://git.sr.ht/~cismonx/bookmarkfs
|
|
environment:
|
|
BUILD_CFLAGS: -g -Wall -Wunsupported -Werror=unsupported
|
|
# While musl does support _GNU_SOURCE,
|
|
# here is a good place to see how well BookmarkFS works with a non-GNU libc.
|
|
BUILD_CPPFLAGS: -D_DEFAULT_SOURCE
|
|
tasks:
|
|
# Use srcdir as builddir, since pdpmake does not support VPATH.
|
|
- setup: |
|
|
cd bookmarkfs
|
|
autoreconf -i
|
|
./configure \
|
|
--enable-bookmarkfs-debug --enable-bookmarkfs-mount \
|
|
--enable-bookmarkfs-fsck --enable-bookmarkfs-mkfs \
|
|
--enable-bookmarkctl --enable-fsck-handler-tcl \
|
|
--enable-backend-firefox --enable-backend-chromium \
|
|
CFLAGS="$BUILD_CFLAGS" CPPFLAGS="$BUILD_CPPFLAGS" \
|
|
CC=tcc LD=tcc MAKE=pdpmake
|
|
- build: |
|
|
cd bookmarkfs
|
|
pdpmake
|
|
pdpmake info
|
|
- test: |
|
|
sudo rc-service fuse start
|
|
sudo rc-service mdev start
|
|
cd bookmarkfs
|
|
pdpmake check
|
|
|
|
# For history builds, see:
|
|
# <https://builds.sr.ht/~cismonx/bookmarkfs/commits/master/alpine.yml>
|