update deps and add build infra
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
🪞👃🪞 2025-04-28 00:57:02 +03:00
parent 07f6f82268
commit b165573e55
14 changed files with 159 additions and 56 deletions

14
build/release-musl.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env sh
set -exo pipefail
docker inspect vestal:musl || time docker build --cache-from=internal \
-f build/Dockerfile.musl -t vestal:musl .
time docker run \
--rm -itu0 \
-v .:/build -w /build \
-vvestal-build-cargo:/home/build/.cargo \
-vvestal-build-target:/build/target \
-eRUST_JACK_DLOPEN=true \
vestal:musl sh -c "chown -R 1000:1000 /build/target \
&& su build -c 'source ~/.cargo/env \
&& just build-release \
&& cp target/release/vestal build/'"