Commit 99b371f2 authored by rancher's avatar rancher

Building deb in CI

parent a3064fc8
Pipeline #451 passed with stages
in 4 minutes and 56 seconds
......@@ -10,6 +10,11 @@ build_deb:
- master
- deb
script:
- apt-get install -y apt-transport-https
- bash -c "wget -q -O - http://apt.clarin-pl.eu/KEY.gpg | apt-key add -"
- bash -c "echo 'deb https://apt.clarin-pl.eu/ /' > /etc/apt/sources.list.d/clarin.list"
- apt-get update && apt-get install -y
corpus2-python2.7
- mkdir build && cd build
- cmake .. && cmake --build . && cpack
artifacts:
......
......@@ -58,7 +58,7 @@ add_subdirectory(toki-app)
# Requires to install dependencies
#set(CPACK_DEBIAN_PACKAGE_DEPENDS "libxml++2.6-dev, libloki-dev, libboost-all-dev, libicu-dev, libffi-dev, libssl-dev, libxml2-utils, swig, gdebi-core")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libboost-all-dev, libicu-dev corpus2-python2.7")
# Set *.deb package name and version
SET(CPACK_PACKAGE_VERSION "${TOKI_VERSION}")
......
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