Use liboxenc-dev in ci jobs

This commit is contained in:
Jason Rhinelander 2022-03-30 16:21:03 -03:00
parent bbdf4af98f
commit 7fca36b3a9
No known key found for this signature in database
GPG Key ID: C4992CE7A88D4262
2 changed files with 13 additions and 2 deletions

View File

@ -1,6 +1,6 @@
local docker_base = 'registry.oxen.rocks/lokinet-ci-';
local default_deps_nocxx = ['libsodium-dev', 'libzmq3-dev'];
local default_deps_nocxx = ['libsodium-dev', 'libzmq3-dev', 'liboxenc-dev'];
local submodule_commands = ['git fetch --tags', 'git submodule update --init --recursive --depth=1'];
@ -12,7 +12,14 @@ local submodules = {
local apt_get_quiet = 'apt-get -o=Dpkg::Use-Pty=0 -q ';
local debian_pipeline(name, image, arch='amd64', deps=['g++'] + default_deps_nocxx, cmake_extra='', build_type='Release', extra_cmds=[], allow_fail=false) = {
local debian_pipeline(name,
image,
arch='amd64',
deps=['g++'] + default_deps_nocxx,
cmake_extra='',
build_type='Release',
extra_cmds=[],
allow_fail=false) = {
kind: 'pipeline',
type: 'docker',
name: name,
@ -30,6 +37,10 @@ local debian_pipeline(name, image, arch='amd64', deps=['g++'] + default_deps_noc
'echo "man-db man-db/auto-update boolean false" | debconf-set-selections',
apt_get_quiet + 'update',
apt_get_quiet + 'install -y eatmydata',
'eatmydata ' + apt_get_quiet + ' install --no-install-recommends -y lsb-release',
'cp contrib/deb.oxen.io.gpg /etc/apt/trusted.gpg.d',
'echo deb http://deb.oxen.io $$(lsb_release -sc) main >/etc/apt/sources.list.d/oxen.list',
'eatmydata ' + apt_get_quiet + ' update',
'eatmydata ' + apt_get_quiet + 'dist-upgrade -y',
'eatmydata ' + apt_get_quiet + 'install -y cmake git ninja-build pkg-config ccache ' + std.join(' ', deps),
'mkdir build',

BIN
contrib/deb.oxen.io.gpg Normal file

Binary file not shown.