代码拉取完成,页面将自动刷新
task:
name: "FreeBSD 13"
freebsd_instance:
matrix:
- image_family: freebsd-13-0-snap
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
- env ASSUME_ALWAYS_YES=yes pkg install -y python3 python38 py38-polib py38-lxml
- env ASSUME_ALWAYS_YES=yes pkg install -y gmake pkgconf poco cppunit autotools coreutils git bash npm png pango
- mkdir libreoffice-src
- cd libreoffice-src
- fetch https://github.com/CollaboraOnline/online/releases/download/for-code-assets/LibreOfficeKit-includes-co-2021.tar.gz
- tar -xzf LibreOfficeKit-includes-co-2021.tar.gz
build_script:
- mkdir .git/hooks
- pw useradd -n lool -d /tmp/loolhome -m
- chmod -R o+rwx ./
- su -m lool -c './autogen.sh'
- 'su -m lool -c ''env HOME=/tmp/loolhome MAKE=gmake
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
--disable-seccomp --disable-setcap --enable-debug'' '
- su -m lool -c 'env HOME=/tmp/loolhome gmake -j`sysctl -n hw.ncpu`'
- chown root ./loolmount
- chmod +s ./loolmount
test_script:
# - su -m lool -c 'env HOME=/tmp/loolhome gmake check'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。