Skip to content

Commit f2d8d0a

Browse files
authored
chore(deps): remove simd-adler32 crate patch (#13045)
* chore: remove simd-adler32 patch * fix: use vocal mirror
1 parent 090d7ba commit f2d8d0a

3 files changed

Lines changed: 24 additions & 5 deletions

File tree

.github/workflows/reusable-build-bench.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,27 @@ jobs:
7676
- name: Build JS
7777
run: pnpm run build:js
7878

79+
- name: Replace Ubuntu APT sources
80+
if: startsWith(runner.name, 'rspack-ubuntu')
81+
run: |
82+
CODENAME=$(lsb_release -cs)
83+
echo "Detected Ubuntu codename: $CODENAME"
84+
85+
# Backup and clean PPA sources
86+
sudo mkdir -p /etc/apt/sources.list.d.bak
87+
sudo mv /etc/apt/sources.list.d/*.list /etc/apt/sources.list.d.bak/ 2>/dev/null || true
88+
89+
# Replace main sources
90+
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
91+
sudo tee /etc/apt/sources.list > /dev/null <<EOF
92+
deb https://mirrors.volces.com/ubuntu $CODENAME main restricted universe multiverse
93+
deb https://mirrors.volces.com/ubuntu $CODENAME-updates main restricted universe multiverse
94+
deb https://mirrors.volces.com/ubuntu $CODENAME-security main restricted universe multiverse
95+
deb https://mirrors.volces.com/ubuntu $CODENAME-backports main restricted universe multiverse
96+
EOF
97+
98+
sudo apt update
99+
79100
- name: Run benchmark
80101
uses: ./.github/actions/codspeed
81102
timeout-minutes: 30

Cargo.lock

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,3 @@ regex_creation_in_loops = "warn"
514514
# regex
515515
invalid_regex = "warn"
516516
trivial_regex = "warn"
517-
518-
[patch.crates-io]
519-
simd-adler32 = { git = "https://github.com/mcountryman/simd-adler32.git", rev = "b279034d9eb554c3e5e0af523db044f08d8297ba" }

0 commit comments

Comments
 (0)