From 613822e40c4853261cf13c98d89045dae894700c Mon Sep 17 00:00:00 2001 From: LDA Date: Sun, 15 Sep 2024 13:17:54 +0200 Subject: [PATCH] [CI] Base on a Mbed release --- .forgejo/workflows/build-release.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build-release.yaml b/.forgejo/workflows/build-release.yaml index 6c93c33..c48afc4 100644 --- a/.forgejo/workflows/build-release.yaml +++ b/.forgejo/workflows/build-release.yaml @@ -10,12 +10,14 @@ jobs: run: | echo $(uname -a) $(env | grep container) apt update -y - apt install -y build-essential liblmdb-dev nodejs libssl-dev git wget python3 python3-pip + apt install -y build-essential liblmdb-dev nodejs libssl-dev git wget python3 python3-pip bzip2 - name: Clone everything run: | mkdir -p repos git clone --depth=1 https://git.musl-libc.org/git/musl repos/musl - git clone --depth=1 https://github.com/Mbed-TLS/mbedtls repos/mbed + wget https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-3.6.1/mbedtls-3.6.1.tar.bz2 + tar -xvf mbedtls-3.6.1.tar.bz2 + mv mbedtls-3.6.1/ repos/mbed git clone --depth=1 https://github.com/LMDB/lmdb repos/lmdb git clone -b add-mbed --single-branch https://git.telodendria.io/lda/Cytoplasm repos/cyto echo "PREFIX=$GITHUB_WORKSPACE/usr" >> $GITHUB_ENV @@ -33,7 +35,6 @@ jobs: run: | alias musl-gcc="musl-gcc -Wl,-Bstatic -L ${PREFIX}/lib" cd repos/mbed - git submodule update --init python3 -m pip install -r scripts/basic.requirements.txt --break-system-packages make CC=musl-gcc -j$(nproc) make install DESTDIR=${PREFIX} -j$(nproc)