File tree Expand file tree Collapse file tree 3 files changed +37
-19
lines changed
Expand file tree Collapse file tree 3 files changed +37
-19
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -495,6 +495,24 @@ $CURL -O https://raw.githubusercontent.com/lovell/sharp-libvips/main/THIRD-PARTY
495495ls -al lib
496496rm -rf lib
497497mv 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+
498516tar chzf ${PACKAGE} /sharp-libvips-${PLATFORM} .tar.gz \
499517 --hard-dereference \
500518 include \
Original file line number Diff line number Diff 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*)
5959for platform in $PLATFORMS ; do
6060 extract " $platform "
6161done
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
6868cp -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/
7171find npm/dev/include/ -maxdepth 1 -type f -links +1 -delete
7272for source in VConnection VError VImage VInterpolate VRegion vips-operators; do
7373 download_cpp " $source "
7777PACKAGES=$( jq -r ' .workspaces[]' " npm/package.json" )
7878for 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 "
You can’t perform that action at this time.
0 commit comments