build: Add basic Hydrun CI config

This commit is contained in:
Felicitas Pojtinger
2021-12-20 01:41:09 +01:00
parent 63fb7df81c
commit 07f7af284d
17 changed files with 137 additions and 3740 deletions
Executable
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
set -e
# Install native dependencies
apt update
apt install -y curl
# Install bagccgop
curl -L -o /tmp/bagccgop "https://github.com/pojntfx/bagccgop/releases/latest/download/bagccgop.linux-$(uname -m)"
install /tmp/bagccgop /usr/local/bin
# Build
GOFLAGS='-gccgoflags=-static' bagccgop -x '(linux/alpha|linux/mipsle)' -j1 -b stfs -r 'make depend' -m 'libsqlite3-dev' -p 'make build/stfs DST=$DST' -d out
exit 0