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.
This commit is contained in:
Jehan 2020-04-22 17:16:28 +02:00
parent e0b9269849
commit b5674dbd50

27
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,27 @@
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