blob: 7ee77c599551a64367d3d1aaef52d8910e0e433c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#!/bin/sh
set -ex
export ASSUME_ALWAYS_YES=yes
# Already in freebsd14-sciteco
# TODO: Build this with buildah.
#pkg update
#pkg install FreeBSD-clang FreeBSD-clibs-dev \
# gmake pkgconf autoconf automake libtool \
# glib gtk3 groff lowdown valgrind
autoreconf -i
./configure --with-interface=ncurses --enable-debug --enable-html-docs
gmake
# NOTE: The test suite must be run in verbose mode because if it fails
# we won't be able to analyze testsuite.log.
gmake check TESTSUITEFLAGS="--verbose --color=never --valgrind"
# Includes a second test suite run, but without Valgrind.
# This is good since we had to exclude several test cases when running
# under CI with --valgrind.
gmake distcheck
gmake install
# Build and deploy website
cd www
sciteco -m build.tes
cp *.html /opt/htdocs/
cd ..
cp ico/sciteco.ico /opt/htdocs/graphics
cp ico/sciteco-48.png /opt/htdocs/graphics
# TODO: Should we also distribute FreeBSD binaries?
|