2021-05-06 03:38:22 -05:00
|
|
|
task:
|
|
|
|
name: "FreeBSD 13"
|
|
|
|
freebsd_instance:
|
|
|
|
matrix:
|
2022-12-07 10:40:00 -06:00
|
|
|
- image_family: freebsd-13-1-snap
|
2021-05-06 03:38:22 -05:00
|
|
|
deps_script:
|
|
|
|
- sed -i.bak -e 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
|
|
|
- env ASSUME_ALWAYS_YES=yes pkg update -f
|
|
|
|
- env ASSUME_ALWAYS_YES=yes pkg remove -y python27 python2 python37
|
2022-07-05 06:20:55 -05:00
|
|
|
- env ASSUME_ALWAYS_YES=yes pkg install -y python3 python39 py39-polib py39-lxml
|
2022-11-11 12:03:09 -06:00
|
|
|
- env ASSUME_ALWAYS_YES=yes pkg install -y gmake pkgconf poco cppunit autotools coreutils git bash npm png pango zstd openssl
|
2021-05-06 03:38:22 -05:00
|
|
|
- mkdir libreoffice-src
|
|
|
|
- cd libreoffice-src
|
2023-03-14 06:01:38 -05:00
|
|
|
- fetch https://github.com/CollaboraOnline/online/releases/download/for-code-assets/LibreOfficeKit-includes-co-23.05.tar.gz
|
|
|
|
- tar -xzf LibreOfficeKit-includes-co-23.05.tar.gz
|
2021-05-06 03:38:22 -05:00
|
|
|
build_script:
|
|
|
|
- mkdir .git/hooks
|
2021-11-17 02:23:10 -06:00
|
|
|
- pw useradd -n cool -d /tmp/coolhome -m
|
2021-05-06 03:38:22 -05:00
|
|
|
- chmod -R o+rwx ./
|
2021-11-15 10:04:57 -06:00
|
|
|
- su -m cool -c './autogen.sh'
|
2021-11-17 02:23:10 -06:00
|
|
|
- 'su -m cool -c ''env HOME=/tmp/coolhome MAKE=gmake
|
2021-05-06 03:38:22 -05:00
|
|
|
CPPFLAGS="-isystem /usr/local/include" CFLAGS="-I/usr/local/include"
|
|
|
|
CXXFLAGS="-I/usr/local/include" LDFLAGS=-L/usr/local/lib ./configure
|
|
|
|
--with-lo-path=/usr/local/lib/libreoffice/
|
|
|
|
--with-lokit-path=./libreoffice-src/include
|
2022-09-12 05:23:24 -05:00
|
|
|
--disable-seccomp --disable-werror --disable-setcap --enable-debug'' '
|
2021-11-17 02:23:10 -06:00
|
|
|
- su -m cool -c 'env HOME=/tmp/coolhome gmake -j`sysctl -n hw.ncpu`'
|
2021-11-17 11:08:27 -06:00
|
|
|
- chown root ./coolmount
|
|
|
|
- chmod +s ./coolmount
|
2021-05-06 03:38:22 -05:00
|
|
|
test_script:
|
2021-11-17 02:23:10 -06:00
|
|
|
# - su -m cool -c 'env HOME=/tmp/coolhome gmake check'
|