mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-03-12 05:25:23 -07:00
* nanopb 0.4.6.4 with PB_C99_STATIC_ASSERT to avoid depending on C11 * OpenSSL 1.1.1q on windows * Switched from docker to podman in CI * Appdir in appimage build container is now in /build/appdir to fix "Invalid cross-device link" errors in linuxdeploy when appdir is in mount * Use python protobuf==3.19.5 in bionic image, which still supports python 3.6, and on windows where nanopb otherwise has issues * Purge nanopb_pb2.py to force regeneration of it for possibly different python protobuf versions in subsequent builds * FreeBSD needs py39 packages now
16 lines
472 B
Bash
Executable File
16 lines
472 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -xe
|
|
cd "`dirname $(readlink -f ${0})`"
|
|
|
|
podman build -t chiaki-bullseye . -f Dockerfile.bullseye
|
|
cd ..
|
|
podman run --rm -v "`pwd`:/build" chiaki-bullseye /bin/bash -c "
|
|
cd /build &&
|
|
rm -fv third-party/nanopb/generator/proto/nanopb_pb2.py &&
|
|
mkdir build_bullseye &&
|
|
cmake -Bbuild_bullseye -GNinja -DCHIAKI_ENABLE_SETSU=ON -DCHIAKI_USE_SYSTEM_JERASURE=ON -DCHIAKI_USE_SYSTEM_NANOPB=ON &&
|
|
ninja -C build_bullseye &&
|
|
ninja -C build_bullseye test"
|
|
|