2023-02-12 12:26:45 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2023 CismonX <admin@cismon.net>
|
|
|
|
#
|
|
|
|
# Copying and distribution of this file, with or without modification, are
|
|
|
|
# permitted in any medium without royalty, provided the copyright notice and
|
|
|
|
# this notice are preserved. This file is offered as-is, without any warranty.
|
|
|
|
#
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2023-02-20 05:45:46 +00:00
|
|
|
image: debian:bullseye-slim
|
2023-02-12 12:26:45 +00:00
|
|
|
commands:
|
|
|
|
- apt -y update
|
|
|
|
- apt -y install
|
|
|
|
build-essential pkg-config autoconf automake libtool
|
2023-02-20 05:45:46 +00:00
|
|
|
autoconf-archive dejagnu texinfo libreadline-dev librime-dev
|
2023-02-12 12:26:45 +00:00
|
|
|
- autoreconf -i && mkdir build && cd build
|
2023-02-20 05:45:46 +00:00
|
|
|
- ../configure --with-readline --with-rime --enable-debug
|
2023-02-12 12:26:45 +00:00
|
|
|
CFLAGS='-O0 -g -std=c99 -Wall -Wextra -Wpedantic -Wshadow'
|
|
|
|
CPPFLAGS='-D_POSIX_C_SOURCE=200112L'
|
|
|
|
- make
|
|
|
|
- make check
|