chore: update ci script
continuous-integration/drone Build is passing Details

This commit is contained in:
CismonX 2023-07-26 00:07:32 +08:00
parent ac73253a5e
commit 8673c8d8e2
Signed by: cismonx
GPG Key ID: 3094873E29A482FB
2 changed files with 5 additions and 5 deletions

View File

@ -12,12 +12,12 @@ name: default
steps: steps:
- name: build - name: build
image: debian:bullseye-slim image: debian:bookworm-slim
commands: commands:
- apt -y update && apt -y install - apt-get -y update && apt-get -y install
build-essential pkg-config autoconf automake libtool build-essential pkgconf autoconf automake libtool
autoconf-archive dejagnu texinfo libreadline-dev librime-dev autoconf-archive dejagnu texinfo libreadline-dev librime-dev
- autoreconf -i && mkdir build && cd build - mkdir build && cd build && autoreconf -i ..
- ../configure --with-readline --with-rime --enable-arif-debug - ../configure --with-readline --with-rime --enable-arif-debug
CFLAGS='-O0 -g -std=c99 -Wall -Wextra -Wpedantic -Wshadow' CFLAGS='-O0 -g -std=c99 -Wall -Wextra -Wpedantic -Wshadow'
CPPFLAGS='-D_POSIX_C_SOURCE=200112L' CPPFLAGS='-D_POSIX_C_SOURCE=200112L'

View File

@ -41,8 +41,8 @@ Build and Install
Example shell script: Example shell script:
autoreconf -i
mkdir build && cd build mkdir build && cd build
autoreconf -i ..
../configure --prefix=${HOME}/.local ../configure --prefix=${HOME}/.local
make make
make install make install