From 9ff70bc0ed683b8840141b265bad2f7cbff53985 Mon Sep 17 00:00:00 2001 From: LDA Date: Tue, 17 Sep 2024 10:21:27 +0200 Subject: [PATCH] [CI] Push my luck with strategies --- .forgejo/workflows/build-release.yaml | 8 ++++++-- README.MD | 5 +++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/build-release.yaml b/.forgejo/workflows/build-release.yaml index af52cae..a30318d 100644 --- a/.forgejo/workflows/build-release.yaml +++ b/.forgejo/workflows/build-release.yaml @@ -2,9 +2,13 @@ name: Builds static Parsee for a release. on: [release, workflow_dispatch] jobs: compile: - runs-on: debian + strategy: + matrix: + distro: [ debian ] + arch: [ 'amd64', 'arm64' ] + runs-on: ${{ matrix.distro }}-${{ matrix.arch }} container: - image: debian + image: ${{ matrix.distro }} steps: - name: Install LMDB+OpenSSL tools run: | diff --git a/README.MD b/README.MD index a2bff9d..251f68d 100644 --- a/README.MD +++ b/README.MD @@ -1,7 +1,7 @@ # Parsee - the jealous XMPP<=>Matrix bridge Parsee is a Matrix<=>XMPP bridge written in C99, with Cytoplasm, similar to Bifrost, but it is 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? ### Naming @@ -27,13 +27,14 @@ a bridge may be a good way to start. ## BUILDING ```sh $ 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 [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 change a few variables (you can set `CYTO_INC` and `CYTO_LIB` for Cytoplasm's include and library paths specifically.) +If you build with MbedTLS, please mind setting the `CYTO_TLS_CA` env to Parsee. ### DEPENDENCIES Parsee tries to avoid dependencies aside from [Cytoplasm](https://git.telodendria.io/Telodendria/Cytoplasm).