image: ubuntu/noble
packages:
- curl
- ca-certificates
- gnupg
- golang
- protobuf-compiler
sources:
- https://sourcecraft.dev/bigbes/tarantool-protobuf
environment:
GOPATH: /home/build/go
PATH: /home/build/.local/bin:/home/build/go/bin:/usr/local/bin:/usr/bin:/bin
tasks:
- install_tarantool: |
curl -L https://tarantool.io/release/3/installer.sh | sudo bash
sudo apt-get install -y tarantool tarantool-dev tt
- install_just: |
mkdir -p ~/.local/bin
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh \
| bash -s -- --to ~/.local/bin
- install_luatest: |
cd tarantool-protobuf
tt rocks install luatest
- build_gen_test: |
cd tarantool-protobuf
just build
just gen
just test