mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-13 12:32:55 +02:00
CI: Remove setup useradd line, use eatmydata
I noticed this line causing a delay; ChatGPT thinks NSS name lookup. I've removed the useradd line altogether. I also install eatmydata first, to try to speed the other installs. This drops the install step from 1m45 to about 30 seconds. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
acdda01c01
commit
8dce87f755
1 changed files with 5 additions and 2 deletions
7
.github/scripts/setup.sh
vendored
7
.github/scripts/setup.sh
vendored
|
|
@ -3,14 +3,18 @@ set -e
|
|||
export DEBIAN_FRONTEND=noninteractive
|
||||
export RUST_VERSION=stable
|
||||
|
||||
sudo useradd -ms /bin/bash tester
|
||||
sudo mkdir -p /var/cache/apt/archives
|
||||
mkdir -p ~/ci-cache/apt/
|
||||
sudo cp -a ~/ci-cache/apt/. /var/cache/apt/archives/ 2>/dev/null || true
|
||||
|
||||
sudo apt-get update
|
||||
|
||||
# Install eatmydata, then use it for the rest.
|
||||
sudo apt-get install --no-install-recommends --allow-unauthenticated -yy \
|
||||
-o APT::Keep-Downloaded-Packages=true \
|
||||
eatmydata
|
||||
|
||||
sudo eatmydata apt-get install --no-install-recommends --allow-unauthenticated -yy \
|
||||
-o APT::Keep-Downloaded-Packages=true \
|
||||
autoconf \
|
||||
automake \
|
||||
|
|
@ -19,7 +23,6 @@ sudo apt-get install --no-install-recommends --allow-unauthenticated -yy \
|
|||
clang \
|
||||
cppcheck \
|
||||
docbook-xml \
|
||||
eatmydata \
|
||||
gcc-aarch64-linux-gnu \
|
||||
gcc-arm-linux-gnueabihf \
|
||||
gcc-arm-none-eabi \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue