mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 08:46:40 +08:00
Very simple CI since uchardet is an extremely low/no dependency library. So basically we install CMake in Debian/testing and we are good.
28 lines
486 B
YAML
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
|