Parsee/.forgejo/workflows/check-gcc.yaml
LDA 9352bf9bba [META] Death to GNUMakefile and build.c
Soon bound to add a -s flag for static build.
2024-09-12 20:02:40 +02:00

33 lines
1 KiB
YAML

name: Checks Parsee's correctness on GCC+Debian
on: [push]
jobs:
compile:
runs-on: amd64-debian
container:
image: debian:12
steps:
- name: Install LMDB+OpenSSL tools
run: |
echo $(uname -a) $(env | grep container)
apt update -y
apt install -y build-essential liblmdb-dev nodejs libssl-dev git
- name: Clone/Configure Cytoplasm
run: |
git clone https://git.kappach.at/KappaChat/Cytoplasm --depth=1
cd Cytoplasm
./configure --with-lmdb --prefix=/usr
- name: Build Cytoplasm
run: 'cd Cytoplasm && make -j$(nproc)'
- name: Install Cytoplasm
run: 'cd Cytoplasm && make install'
- name: Clone Parsee
uses: actions/checkout@v3
- name: Build Parsee
run: |
cc configure.c -o configure && ./configure
echo 'CFLAGS=-Werror -Wall -Wextra -pedantic' >> build.conf
cat build.conf
make && make ayadoc
- name: Install Parsee
run: 'make install'