Skip to content

Commit a82ecc9

Browse files
committed
chore enabling a bunch of builds back
1 parent 3351d9b commit a82ecc9

File tree

3 files changed

+37
-19
lines changed

3 files changed

+37
-19
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ jobs:
3131
- os: "ubuntu-24.04"
3232
platform: "linux-x64"
3333
# FIXME enable this back
34-
# - os: "ubuntu-24.04"
35-
# platform: "linux-armv6"
36-
# - os: "ubuntu-24.04"
37-
# platform: "win32-x64"
38-
# - os: "macos-15-intel"
39-
# platform: "darwin-x64"
40-
# - os: "macos-15"
41-
# platform: "darwin-arm64v8"
42-
# - os: "ubuntu-24.04-arm"
43-
# platform: "linux-arm64v8"
34+
- os: "ubuntu-24.04"
35+
platform: "linux-armv6"
36+
- os: "ubuntu-24.04"
37+
platform: "win32-x64"
38+
- os: "macos-15-intel"
39+
platform: "darwin-x64"
40+
- os: "macos-15"
41+
platform: "darwin-arm64v8"
42+
- os: "ubuntu-24.04-arm"
43+
platform: "linux-arm64v8"
4444
steps:
4545
- name: Checkout
4646
uses: actions/checkout@v4

build/posix.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,24 @@ $CURL -O https://raw.githubusercontent.com/lovell/sharp-libvips/main/THIRD-PARTY
495495
ls -al lib
496496
rm -rf lib
497497
mv lib-filtered lib
498+
499+
500+
if [ "$LINUX" = true ]; then
501+
tar chzf ${PACKAGE}/sharp-libvips-${PLATFORM}.tar.gz \
502+
--hard-dereference \
503+
include \
504+
lib \
505+
*.json \
506+
THIRD-PARTY-NOTICES.md
507+
elif [ "$DARWIN" = true ]; then
508+
tar chzf ${PACKAGE}/sharp-libvips-${PLATFORM}.tar.gz \
509+
include \
510+
lib \
511+
*.json \
512+
THIRD-PARTY-NOTICES.md
513+
fi
514+
515+
498516
tar chzf ${PACKAGE}/sharp-libvips-${PLATFORM}.tar.gz \
499517
--hard-dereference \
500518
include \

populate-npm-workspace.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,20 @@ remove_unused() {
5454

5555
# Download and extract per-platform binaries
5656
# FIXME enable this back
57-
# PLATFORMS=$(ls platforms --ignore=win32*)
58-
PLATFORMS=$(ls platforms -Iwin* -Idarwin* -Ilinux-arm*)
57+
PLATFORMS=$(ls platforms --ignore=win32*)
58+
# PLATFORMS=$(ls platforms -Iwin* -Idarwin* -Ilinux-arm*)
5959
for platform in $PLATFORMS; do
6060
extract "$platform"
6161
done
6262
# FIXME enable this back
63-
# for platform in x64; do
64-
# extract "win32-$platform"
65-
# done
63+
for platform in x64; do
64+
extract "win32-$platform"
65+
done
6666

6767
# Common header and source files
6868
cp -r npm/linux-x64/{include,versions.json,THIRD-PARTY-NOTICES.md} npm/dev/
6969
# FIXME enable this back
70-
# cp -r npm/win32-x64/include npm/dev/
70+
cp -r npm/win32-x64/include npm/dev/
7171
find npm/dev/include/ -maxdepth 1 -type f -links +1 -delete
7272
for source in VConnection VError VImage VInterpolate VRegion vips-operators; do
7373
download_cpp "$source"
@@ -77,9 +77,9 @@ done;
7777
PACKAGES=$(jq -r '.workspaces[]' "npm/package.json")
7878
for package in $PACKAGES; do
7979
# FIXME enable this back
80-
if [[ "$package" != "linux-x64" && "$package" != "dev" ]]; then
81-
continue
82-
fi
80+
# if [[ "$package" != "linux-x64" && "$package" != "dev" ]]; then
81+
# continue
82+
# fi
8383
generate_readme "$package"
8484
generate_index "$package"
8585
remove_unused "$package"

0 commit comments

Comments
 (0)