Commit 09d5fd8d authored by Ciarán Ó Rourke's avatar Ciarán Ó Rourke
Browse files

* add installation of dependencies to CI

* add invocation of build script to CI
* add default job for building the packages to CI
* add jobs to build individuall packages (zsh, vim, tmux)
parent 12f648a4
Pipeline #3207 failed with stage
in 0 seconds
image: centos:7
.snippets:
- &install_dependencies
yum install -y
python3-devel
ruby-devel
ncurses-devel
- &build_install
(
set -x;
./src/build_packages.sh
--skip="${SKIP}"
--only="${ONLY}"
--prefix="${PREFIX}"
--python3-config-dir="${PYTHON3_CONFIG_DIR}"
-j "${THREADS}"
"${ADDITIONAL_OPTIONS}"
)
.settings:
default_settings: &default_settings
SKIP: ""
ONLY: ""
PREFIX: "/usr/bin"
PYTHON3_CONFIG_DIR: ""
THREADS: "1"
ADDITIONAL_OPTIONS: "--skip-dependencies"
.default_job: &default_job
tags:
- docker
variables:
<<: *default_settings
before_script:
- yum update -y
- yum install -y epel-release
- yum update -y
- yum groupinstall -y "Development Tools"
- *install_dependencies
script:
- *build_install
stages:
- build
zsh:
<<: *default_job
stage: build
variables:
<<: *default_settings
ONLY: "zsh"
vim:
<<: *default_job
stage: build
variables:
<<: *default_settings
ONLY: "vim"
PYTHON3_CONFIG_DIR: "/usr/lib64/python3.6/config-3.6m-x86_64-linux-gnu"
tmux:
<<: *default_job
stage: build
variables:
<<: *default_settings
ONLY: "tmux"
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