Skip to content
Snippets Groups Projects
Commit 99b371f2 authored by mateuszg's avatar mateuszg
Browse files

Building deb in CI

parent a3064fc8
No related branches found
No related tags found
1 merge request!1Deb
Pipeline #451 passed
...@@ -10,6 +10,11 @@ build_deb: ...@@ -10,6 +10,11 @@ build_deb:
- master - master
- deb - deb
script: 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 - mkdir build && cd build
- cmake .. && cmake --build . && cpack - cmake .. && cmake --build . && cpack
artifacts: artifacts:
......
...@@ -58,7 +58,7 @@ add_subdirectory(toki-app) ...@@ -58,7 +58,7 @@ add_subdirectory(toki-app)
# Requires to install dependencies # 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 *.deb package name and version
SET(CPACK_PACKAGE_VERSION "${TOKI_VERSION}") SET(CPACK_PACKAGE_VERSION "${TOKI_VERSION}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment