mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-02 18:35:00 +01:00
gci: Format the build script
We were using a lot of docker conventions, which are not necessary in the script itself.
This commit is contained in:
parent
cd9aa267b4
commit
6119f1f5fb
1 changed files with 62 additions and 49 deletions
63
.github/workflows/ci.yaml
vendored
63
.github/workflows/ci.yaml
vendored
|
@ -163,9 +163,11 @@ jobs:
|
|||
-r contrib/pyln-proto/requirements.txt \
|
||||
-r contrib/pyln-testing/requirements.txt
|
||||
|
||||
# Install utilities that aren't dependencies, but make running
|
||||
# tests easier/feasible on CI
|
||||
pip3 install --user \
|
||||
# Install utilities that aren't dependencies, but make
|
||||
# running tests easier/feasible on CI (and pytest which
|
||||
# keeps breaking the rerunfailures plugin).
|
||||
pip3 install --user -U \
|
||||
pytest==6.1.0 \
|
||||
blinker \
|
||||
pytest-sentry \
|
||||
pytest-rerunfailures==9.1.1 \
|
||||
|
@ -194,30 +196,41 @@ jobs:
|
|||
export STRIP="$TARGET_HOST"-strip
|
||||
export CONFIGURATION_WRAPPER=qemu-"${TARGET_HOST%%-*}"-static
|
||||
|
||||
wget -q https://zlib.net/zlib-1.2.11.tar.gz \
|
||||
&& tar xf zlib-1.2.11.tar.gz \
|
||||
&& cd zlib-1.2.11 \
|
||||
&& ./configure --prefix="$QEMU_LD_PREFIX" \
|
||||
&& make \
|
||||
&& sudo make install
|
||||
cd .. && rm zlib-1.2.11.tar.gz && rm -rf zlib-1.2.11
|
||||
wget -q https://zlib.net/zlib-1.2.11.tar.gz
|
||||
tar xf zlib-1.2.11.tar.gz
|
||||
cd zlib-1.2.11
|
||||
./configure --prefix="$QEMU_LD_PREFIX"
|
||||
make
|
||||
sudo make install
|
||||
cd ..
|
||||
rm zlib-1.2.11.tar.gz && rm -rf zlib-1.2.11
|
||||
|
||||
wget -q https://www.sqlite.org/2018/sqlite-src-3260000.zip \
|
||||
&& unzip -q sqlite-src-3260000.zip \
|
||||
&& cd sqlite-src-3260000 \
|
||||
&& automake --add-missing --force-missing --copy || true \
|
||||
&& ./configure --disable-tcl --enable-static --disable-readline --disable-threadsafe --disable-load-extension --host="$TARGET_HOST" --prefix="$QEMU_LD_PREFIX" \
|
||||
&& make \
|
||||
&& sudo make install
|
||||
cd .. && rm sqlite-src-3260000.zip && rm -rf sqlite-src-3260000
|
||||
wget -q https://www.sqlite.org/2018/sqlite-src-3260000.zip
|
||||
unzip -q sqlite-src-3260000.zip
|
||||
cd sqlite-src-3260000
|
||||
automake --add-missing --force-missing --copy || true
|
||||
./configure --disable-tcl \
|
||||
--enable-static \
|
||||
--disable-readline \
|
||||
--disable-threadsafe \
|
||||
--disable-load-extension \
|
||||
--host="$TARGET_HOST" \
|
||||
--prefix="$QEMU_LD_PREFIX"
|
||||
make
|
||||
sudo make install
|
||||
cd ..
|
||||
rm sqlite-src-3260000.zip
|
||||
rm -rf sqlite-src-3260000
|
||||
|
||||
wget -q https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz \
|
||||
&& tar xf gmp-6.1.2.tar.xz \
|
||||
&& cd gmp-6.1.2 \
|
||||
&& ./configure --disable-assembly --prefix="$QEMU_LD_PREFIX" --host="$TARGET_HOST" \
|
||||
&& make \
|
||||
&& sudo make install
|
||||
cd .. && rm gmp-6.1.2.tar.xz && rm -rf gmp-6.1.2
|
||||
wget -q https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz
|
||||
tar xf gmp-6.1.2.tar.xz
|
||||
cd gmp-6.1.2
|
||||
./configure --disable-assembly --prefix="$QEMU_LD_PREFIX" --host="$TARGET_HOST"
|
||||
make
|
||||
sudo make install
|
||||
cd ..
|
||||
rm gmp-6.1.2.tar.xz
|
||||
rm -rf gmp-6.1.2
|
||||
|
||||
./configure CC="$TARGET_HOST-gcc" --enable-static
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue