mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 16:56:40 +08:00
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:
parent
e0b9269849
commit
b5674dbd50
27
.gitlab-ci.yml
Normal file
27
.gitlab-ci.yml
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user