mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 13:45:10 +00:00
[CI] Base on a Mbed release
This commit is contained in:
parent
2e4314be48
commit
613822e40c
1 changed files with 4 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue