mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-29 05:38:24 +00:00
CI: Switch from wget to curl
We were using both wget and curl arbitrarily; use curl exclusively since that is installed by default on our machines and containers. Fixes the js-benchmarks workflow.
This commit is contained in:
parent
1c5881c44a
commit
44db17f273
Notes:
github-actions[bot]
2025-05-15 12:36:33 +00:00
Author: https://github.com/gmta
Commit: 44db17f273
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4748
Reviewed-by: https://github.com/ADKaster ✅
3 changed files with 6 additions and 6 deletions
4
.github/actions/setup/action.yml
vendored
4
.github/actions/setup/action.yml
vendored
|
@ -33,7 +33,7 @@ runs:
|
|||
|
||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
||||
|
||||
wget -O /usr/share/keyrings/llvm-snapshot.gpg.key https://apt.llvm.org/llvm-snapshot.gpg.key
|
||||
curl -f -o /usr/share/keyrings/llvm-snapshot.gpg.key https://apt.llvm.org/llvm-snapshot.gpg.key
|
||||
echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg.key] http://apt.llvm.org/noble/ llvm-toolchain-noble-20 main" | sudo tee -a /etc/apt/sources.list.d/llvm.list
|
||||
|
||||
sudo apt-get update -y
|
||||
|
@ -52,7 +52,7 @@ runs:
|
|||
|
||||
# FIXME: https://github.com/WebAssembly/wabt/issues/2533
|
||||
# wabt doesn't have binary releases for arm64 Linux
|
||||
wget https://github.com/WebAssembly/wabt/releases/download/1.0.35/wabt-1.0.35-ubuntu-20.04.tar.gz
|
||||
curl -f -L -o wabt-1.0.35-ubuntu-20.04.tar.gz https://github.com/WebAssembly/wabt/releases/download/1.0.35/wabt-1.0.35-ubuntu-20.04.tar.gz
|
||||
tar -xzf ./wabt-1.0.35-ubuntu-20.04.tar.gz
|
||||
rm ./wabt-1.0.35-ubuntu-20.04.tar.gz
|
||||
echo "${{ github.workspace }}/wabt-1.0.35/bin" >> $GITHUB_PATH
|
||||
|
|
2
.github/workflows/js-benchmarks.yml
vendored
2
.github/workflows/js-benchmarks.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
|||
if: ${{ matrix.os_name == 'Linux' }}
|
||||
shell: bash
|
||||
run: |
|
||||
wget -O /usr/share/keyrings/llvm-snapshot.gpg.key https://apt.llvm.org/llvm-snapshot.gpg.key
|
||||
curl -f -o /usr/share/keyrings/llvm-snapshot.gpg.key https://apt.llvm.org/llvm-snapshot.gpg.key
|
||||
echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg.key] http://apt.llvm.org/noble/ llvm-toolchain-noble-20 main" | sudo tee -a /etc/apt/sources.list.d/llvm.list
|
||||
|
||||
sudo apt-get update
|
||||
|
|
6
.github/workflows/libjs-test262.yml
vendored
6
.github/workflows/libjs-test262.yml
vendored
|
@ -50,15 +50,15 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
wget -O /usr/share/keyrings/llvm-snapshot.gpg.key https://apt.llvm.org/llvm-snapshot.gpg.key
|
||||
curl -f -o /usr/share/keyrings/llvm-snapshot.gpg.key https://apt.llvm.org/llvm-snapshot.gpg.key
|
||||
echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg.key] http://apt.llvm.org/noble/ llvm-toolchain-noble-20 main" | sudo tee -a /etc/apt/sources.list.d/llvm.list
|
||||
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y ninja-build unzip clang-20 clang++-20 jq wget curl zip tar autoconf autoconf-archive automake nasm pkg-config libgl1-mesa-dev rsync
|
||||
sudo apt-get install -y ninja-build unzip clang-20 clang++-20 jq curl zip tar autoconf autoconf-archive automake nasm pkg-config libgl1-mesa-dev rsync
|
||||
|
||||
test -e /opt/wabt-1.0.35 || (
|
||||
cd /tmp
|
||||
wget https://github.com/WebAssembly/wabt/releases/download/1.0.35/wabt-1.0.35-ubuntu-20.04.tar.gz
|
||||
curl -f -L -o wabt-1.0.35-ubuntu-20.04.tar.gz https://github.com/WebAssembly/wabt/releases/download/1.0.35/wabt-1.0.35-ubuntu-20.04.tar.gz
|
||||
sudo tar xf wabt-1.0.35-ubuntu-20.04.tar.gz -C /opt
|
||||
rm wabt-1.0.35-ubuntu-20.04.tar.gz
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue