chore: update ci script
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
This commit is contained in:
parent
ac73253a5e
commit
8673c8d8e2
|
@ -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'
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue