mirror of
https://git.kappach.at/lda/Parsee.git
synced 2025-04-21 17:56:08 +02:00
Negociating stanza sizes seems to be real trouble. Also this code is now `-fanalyzer'-safe! Also kills the last GNUMakefile present. It wasn't even used...
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
name: Checks Parsee's correctness on GCC+Debian
|
|
on: [push]
|
|
jobs:
|
|
compile:
|
|
strategy:
|
|
matrix:
|
|
distro:
|
|
- debian
|
|
arch:
|
|
- amd64
|
|
runs-on:
|
|
- ${{ matrix.distro }}
|
|
- ${{ matrix.arch }}
|
|
container:
|
|
image: ${{ matrix.distro }}
|
|
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 -fanalyzer' >> build.conf
|
|
cat build.conf
|
|
make && make ayadoc
|
|
- name: Install Parsee
|
|
run: 'make install'
|
|
|