[CI] Push my luck with strategies

This commit is contained in:
LDA 2024-09-17 10:21:27 +02:00
commit 9ff70bc0ed
2 changed files with 9 additions and 4 deletions

View file

@ -2,9 +2,13 @@ name: Builds static Parsee for a release.
on: [release, workflow_dispatch] on: [release, workflow_dispatch]
jobs: jobs:
compile: compile:
runs-on: debian strategy:
matrix:
distro: [ debian ]
arch: [ 'amd64', 'arm64' ]
runs-on: ${{ matrix.distro }}-${{ matrix.arch }}
container: container:
image: debian image: ${{ matrix.distro }}
steps: steps:
- name: Install LMDB+OpenSSL tools - name: Install LMDB+OpenSSL tools
run: | run: |

View file

@ -1,7 +1,7 @@
# Parsee - the jealous XMPP<=>Matrix bridge # Parsee - the jealous XMPP<=>Matrix bridge
Parsee is a Matrix<=>XMPP bridge written in C99, with Cytoplasm, similar to Bifrost, but it is Parsee is a Matrix<=>XMPP bridge written in C99, with Cytoplasm, similar to Bifrost, but it is
NOT a drop-in replacment. NOT a drop-in replacment.
**NOTE**: Use [this Cytoplasm branch for LMDB](https://git.telodendria.io/lda/Cytoplasm/src/branch/fix-deadlock) Currently, it is *alpha* stage, which means that I wouldn't recommend using this in production, as I can change anything, at any time.
## Why? ## Why?
### Naming ### Naming
@ -27,13 +27,14 @@ a bridge may be a good way to start.
## BUILDING ## BUILDING
```sh ```sh
$ cc configure.c -o configure $ cc configure.c -o configure
$ ./configure # use -s if you want static Parsee+OpenSSL, use -s -l if LMDB is needed $ ./configure # use -s if you want static Parsee+MbedTLS, use -s -l if LMDB is needed
$ make $ make
$ make [PREFIX=...] install # run as root if on a protected dir like /usr $ make [PREFIX=...] install # run as root if on a protected dir like /usr
``` ```
If there are any Cytoplasm-related build failures, you may want to check the Makefile to If there are any Cytoplasm-related build failures, you may want to check the Makefile to
change a few variables (you can set `CYTO_INC` and `CYTO_LIB` for Cytoplasm's include and change a few variables (you can set `CYTO_INC` and `CYTO_LIB` for Cytoplasm's include and
library paths specifically.) library paths specifically.)
If you build with MbedTLS, please mind setting the `CYTO_TLS_CA` env to Parsee.
### DEPENDENCIES ### DEPENDENCIES
Parsee tries to avoid dependencies aside from [Cytoplasm](https://git.telodendria.io/Telodendria/Cytoplasm). Parsee tries to avoid dependencies aside from [Cytoplasm](https://git.telodendria.io/Telodendria/Cytoplasm).