Skip to content

Commit 67739f3

Browse files
Nik Samokhvalovclaude
andcommitted
Fix CI: use sharp prebuilt binaries for faster builds
Instead of installing libvips-dev and build-essential to compile sharp from source, use SHARP_IGNORE_GLOBAL_LIBVIPS=1 to force sharp to use its bundled prebuilt binaries. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6d01066 commit 67739f3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.gitlab-ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ validate_feeds:
2727
stage: validate
2828
image: oven/bun:1.3-debian
2929
before_script:
30-
# Install xmllint for XML validation and libvips for sharp (image processing)
31-
- apt-get update && apt-get install -y libxml2-utils jq libvips-dev build-essential
30+
# Install xmllint for XML validation
31+
- apt-get update && apt-get install -y libxml2-utils jq
32+
# Use sharp's prebuilt binaries (faster than compiling from source)
33+
- export SHARP_IGNORE_GLOBAL_LIBVIPS=1
3234
- bun install --frozen-lockfile
3335
script:
3436
- bash .ci/validate-feeds.sh

0 commit comments

Comments
 (0)