Newer
Older
include:
- project: shore/ci-templates
file: templates/pre-commit.yml
- >-
apt-get install -y
bash-completion
cmake
golang
go-md2man
meson
podman
shellcheck
systemd
- >-
git clone
--depth=1
"--branch=$VERSION"
https://github.com/containers/toolbox.git
- cd toolbox
script:
- meson -Dprofile_dir=/etc/profile.d builddir
- ninja -C builddir
after_script:
# I would have prefered to use ninja install with a different prefix, but
# alas the Bash completion doesn't take the prefix into account nor can it
# be overwritten, so I went for a manual approach.
- mkdir -p output/share/man/man1
- cp toolbox/builddir/doc/* output/share/man/man1/
- mkdir -p output/bin
- cp toolbox/builddir/src/toolbox output/bin/
- mkdir -p output/share/bash-completion/completions
- cp toolbox/completion/bash/toolbox output/share/bash-completion/completions/
- toolbox/builddir/meson-logs/
- toolbox/builddir/.ninja_log
- toolbox/completion/bash/toolbox