mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 13:45:10 +00:00
[CI] Try to Mbed things out
This commit is contained in:
parent
9f1c2046fd
commit
4a2160503b
3 changed files with 19 additions and 17 deletions
|
|
@ -10,14 +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
|
||||
apt install -y build-essential liblmdb-dev nodejs libssl-dev git wget python3
|
||||
- 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/openssl/openssl repos/openssl
|
||||
git clone --depth=1 https://github.com/Mbed-TLS/mbedtls repos/mbed
|
||||
git clone --depth=1 https://github.com/LMDB/lmdb repos/lmdb
|
||||
git clone --depth=1 https://git.kappach.at/KappaChat/Cytoplasm repos/cyto
|
||||
git clone --depth=1 https://git.kappach.at/lda/Cytoplasm repos/cyto
|
||||
echo "PREFIX=$GITHUB_WORKSPACE/usr" >> $GITHUB_ENV
|
||||
echo "PATH=$GITHUB_WORKSPACE/usr/bin:$PATH" >> $GITHUB_ENV
|
||||
echo "INCLUDE_PATH=$GITHUB_WORKSPACE/usr/include" >> $GITHUB_ENV
|
||||
|
|
@ -29,15 +29,13 @@ jobs:
|
|||
make -j$(nproc)
|
||||
make install -j$(nproc)
|
||||
alias musl-gcc="musl-gcc -Wl,-Bstatic -L ${PREFIX}/lib"
|
||||
- name: Build OpenSSL
|
||||
- name: Build MbedTLS
|
||||
run: |
|
||||
alias musl-gcc="musl-gcc -Wl,-Bstatic -L ${PREFIX}/lib"
|
||||
cd repos/openssl
|
||||
CC=musl-gcc ./Configure -static --static --prefix=${PREFIX} no-async no-engine -DOPENSSL_NO_SECURE_MEMORY
|
||||
make -j$(nproc)
|
||||
make install -j$(nproc)
|
||||
cp libcrypto.a ${PREFIX}/lib
|
||||
cp libssl.a ${PREFIX}/lib
|
||||
cd repos/mbed
|
||||
python3 -m pip install -r scripts/basic.requirements.txt --break-system-packages
|
||||
make CC=musl-gcc -j$(nproc)
|
||||
make install DESTDIR=${PREFIX} -j$(nproc)
|
||||
- name: Build LMDB
|
||||
run: |
|
||||
alias musl-gcc="musl-gcc -Wl,-Bstatic -L ${PREFIX}/lib"
|
||||
|
|
@ -48,10 +46,9 @@ jobs:
|
|||
run: |
|
||||
alias musl-gcc="musl-gcc -Wl,-Bstatic -L ${PREFIX}/lib"
|
||||
cd repos/cyto
|
||||
rm configure
|
||||
wget https://kappach.at/configure
|
||||
chmod +x configure
|
||||
./configure --cc=musl-gcc --prefix=${PREFIX} --with-lmdb
|
||||
git fetch
|
||||
git checkout add-mbed
|
||||
./configure --cc=musl-gcc --prefix=${PREFIX} --with-lmdb --with-mbed
|
||||
make -j$(nproc)
|
||||
make install
|
||||
- name: Clone/Build Parsee
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue