Skip to content

Commit 1402995

Browse files
committed
sync: update package installation commands to include apt-get update
1 parent c878c78 commit 1402995

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.github/workflows/scripts/bootstrap_mozilla.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ if ! command -v llvm-profdata &> /dev/null; then
147147
# If still not found, install from system packages
148148
if ! command -v llvm-profdata &> /dev/null; then
149149
echo "📦 Installing LLVM tools from system packages"
150+
sudo apt-get update
150151
sudo apt-get install -y llvm
151152
fi
152153
fi

.github/workflows/scripts/build-and-package.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ fi
1717

1818
export MOZ_NUM_JOBS=$(( $(nproc) * 3 / 4 ))
1919
if [[ "$PLATFORM" == "linux" ]]; then
20+
sudo apt-get update -y
2021
sudo apt-get install -y xvfb mesa-utils
2122
export LIBGL_ALWAYS_SOFTWARE=1
2223
xvfb-run -a -s "-screen 0 1024x768x24" ./mach configure

.github/workflows/scripts/setup-floorp.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ if [[ "$PLATFORM" == "mac" ]]; then
8989
echo "ac_add_options --enable-linker=lld" >> mozconfig
9090
fi
9191

92+
sudo apt update -y
9293
sudo apt install msitools -y
9394

9495
SCCACHE_BIN="${SCCACHE_PATH:-}"

.github/workflows/scripts/setup-mac-cross.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ echo "Installing LLVM 19 toolchain for cross-compilation..."
2323
wget https://apt.llvm.org/llvm.sh
2424
chmod +x llvm.sh
2525
sudo ./llvm.sh 19
26+
sudo apt-get update
2627
sudo apt-get install -y lld-19
2728

2829
# Create symlinks for the tools

0 commit comments

Comments
 (0)