uchardet/.gitlab-ci.yml
Jehan b5674dbd50 gitlab-ci: first CI build for uchardet.
Very simple CI since uchardet is an extremely low/no dependency library.
So basically we install CMake in Debian/testing and we are good.
2020-04-22 17:22:23 +02:00

28 lines
486 B
YAML

image: debian:testing
stages:
- build
## GNU/Linux 64-bit CIs ##
debian/testing:
stage: build
artifacts:
expire_in: 1 week
when: always
name: "uchardet-build-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
paths:
- _build
before_script:
- apt-get update
- apt-get install -y --no-install-recommends
build-essential
cmake
script:
- mkdir _build
- cd _build
- cmake ..
- make -j "$(nproc)"
- make test
- make install