ci: add missing dependencies

This commit is contained in:
Glenn Y. Rolland 2023-11-18 20:03:57 +01:00 committed by glenux
parent 592f0fbe41
commit 9f0902d91d
2 changed files with 8 additions and 2 deletions

View file

@ -13,11 +13,16 @@ steps:
path: /_cache path: /_cache
commands: commands:
- pwd - pwd
- apt-get update && - |
apt-get install -y cmake g++ libevent-dev libpcre3-dev libyaml-dev apt-get update && \
apt-get install -y \
cmake g++ \
libevent-dev libpcre3-dev \
libyaml-dev liblzma-dev
- shards install - shards install
- shards build --production --static - shards build --production --static
- strip bin/mfm - strip bin/mfm
- ./bin/mfm --version
- mkdir -p /_cache/bin - mkdir -p /_cache/bin
- cp -r bin/mfm /_cache/bin/$PACKAGE_BASENAME - cp -r bin/mfm /_cache/bin/$PACKAGE_BASENAME

View file

@ -3,6 +3,7 @@ shards:
crinja: crinja:
git: https://github.com/straight-shoota/crinja.git git: https://github.com/straight-shoota/crinja.git
version: 0.8.1 version: 0.8.1
shellwords: shellwords:
git: https://github.com/sztheory/shellwords-crystal.git git: https://github.com/sztheory/shellwords-crystal.git
version: 0.1.0 version: 0.1.0