[CI] Grab the right branch

This commit is contained in:
LDA 2024-09-15 12:33:29 +02:00
commit 2e4314be48

View file

@ -17,7 +17,7 @@ jobs:
git clone --depth=1 https://git.musl-libc.org/git/musl repos/musl 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 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://github.com/LMDB/lmdb repos/lmdb
git clone --depth=1 https://git.telodendria.io/lda/Cytoplasm repos/cyto git clone -b add-mbed --single-branch https://git.telodendria.io/lda/Cytoplasm repos/cyto
echo "PREFIX=$GITHUB_WORKSPACE/usr" >> $GITHUB_ENV echo "PREFIX=$GITHUB_WORKSPACE/usr" >> $GITHUB_ENV
echo "PATH=$GITHUB_WORKSPACE/usr/bin:$PATH" >> $GITHUB_ENV echo "PATH=$GITHUB_WORKSPACE/usr/bin:$PATH" >> $GITHUB_ENV
echo "INCLUDE_PATH=$GITHUB_WORKSPACE/usr/include" >> $GITHUB_ENV echo "INCLUDE_PATH=$GITHUB_WORKSPACE/usr/include" >> $GITHUB_ENV
@ -48,7 +48,6 @@ jobs:
alias musl-gcc="musl-gcc -Wl,-Bstatic -L ${PREFIX}/lib" alias musl-gcc="musl-gcc -Wl,-Bstatic -L ${PREFIX}/lib"
cd repos/cyto cd repos/cyto
git fetch git fetch
git checkout add-mbed
./configure --cc=musl-gcc --prefix=${PREFIX} --with-lmdb --with-mbed ./configure --cc=musl-gcc --prefix=${PREFIX} --with-lmdb --with-mbed
make -j$(nproc) make -j$(nproc)
make install make install