arif/.woodpecker.yml

29 lines
1014 B
YAML
Raw Normal View History

2023-07-28 00:30:25 +00:00
#
2023-02-12 12:26:45 +00:00
# Copyright (C) 2023 CismonX <admin@cismon.net>
2023-07-28 00:30:25 +00:00
#
2023-02-12 12:26:45 +00:00
# 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.
2023-07-28 00:30:25 +00:00
#
2023-02-12 12:26:45 +00:00
2024-03-31 13:22:18 +00:00
# For history build logs, see <https://ci.cismon.net/repos/cismonx/arif>.
2023-02-12 12:26:45 +00:00
steps:
- name: build
2023-07-25 16:07:32 +00:00
image: debian:bookworm-slim
2024-03-31 13:22:18 +00:00
when:
- event: [push, tag, manual]
branch: master
2023-02-12 12:26:45 +00:00
commands:
2023-07-25 16:07:32 +00:00
- apt-get -y update && apt-get -y install
gcc g++ make pkgconf autoconf automake libtool
autoconf-archive dejagnu texinfo libreadline-dev librime-dev
2023-07-25 16:07:32 +00:00
- mkdir build && cd build && autoreconf -i ..
2024-04-10 14:52:14 +00:00
- ../configure --with-readline --with-rime
--enable-arif-debug --enable-arify --enable-rl-loop
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
- make dist