Verified Commit 6013c8be authored by Tomas Krizek's avatar Tomas Krizek Committed by Vladimír Čunát

gitlabci: run Turris build in CI

parent 761a1069
Pipeline #44791 passed with stages
in 7 minutes and 41 seconds
......@@ -42,12 +42,34 @@ stages:
build:linux:amd64:
<<: *build
build:asan:linux:amd64:
<<: *build
variables:
CFLAGS: -ggdb3 -O0 -fsanitize=address -fno-omit-frame-pointer
build:turris:omnia:
image: $CI_REGISTRY/knot/knot-resolver/ci/turris:omnia
stage: build
except:
- master
script:
- ./scripts/make-archive.sh
- cp knot-resolver*.tar.xz /tmp/turris/dl/
- ./scripts/make-distrofiles.sh
- cp -r distro/turris /tmp/turris/package/knot-resolver
- pushd /tmp/turris
- export PATH=$PATH:$PWD/staging_dir/toolchain-*/bin
- USE_CCACHE=n make CC=arm-openwrt-linux-gcc CXX=arm-openwrt-linux-g++ LD=arm-openwrt-linux-ld -C $PWD V=s
- popd
- cp /tmp/turris/bin/mvebu-musl/packages/base/*.ipk ./
artifacts:
paths:
- "*.ipk"
tags:
- docker
- linux
- amd64
lint:pedantic:
stage: test # could be in build already, but let's not block the test stage if this fails
dependencies: [] # do not download build artifacts
......
......@@ -15,7 +15,7 @@ PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_MAINTAINER:=Knot DNS <knot-dns@labs.nic.cz>
PKG_LICENSE:=GPL-3.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment