mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-04 19:02:58 +00:00
Compare commits
1 Commits
v0.1.2-dev
...
v0.1.2-dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c19047f28 |
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -82,6 +82,7 @@ jobs:
|
|||||||
node-version: 20
|
node-version: 20
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
cache-dependency-path: node/package-lock.json
|
cache-dependency-path: node/package-lock.json
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
@@ -100,7 +101,6 @@ jobs:
|
|||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
needs: draft-release
|
needs: draft-release
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
matrix:
|
||||||
target: [x86_64-apple-darwin, aarch64-apple-darwin]
|
target: [x86_64-apple-darwin, aarch64-apple-darwin]
|
||||||
steps:
|
steps:
|
||||||
@@ -123,7 +123,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: draft-release
|
needs: draft-release
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
matrix:
|
||||||
target:
|
target:
|
||||||
- x86_64-unknown-linux-gnu:centos
|
- x86_64-unknown-linux-gnu:centos
|
||||||
|
|||||||
@@ -20,7 +20,11 @@ build_node_binaries() {
|
|||||||
do
|
do
|
||||||
echo "Building node library for $target"
|
echo "Building node library for $target"
|
||||||
# cross doesn't yet pass this down to Docker, so we do it ourselves.
|
# cross doesn't yet pass this down to Docker, so we do it ourselves.
|
||||||
export CROSS_CONTAINER_OPTS="--platform linux/amd64"
|
if [[ $target == x86_64* ]]; then
|
||||||
|
export CROSS_CONTAINER_OPTS="--platform linux/amd64"
|
||||||
|
else
|
||||||
|
export CROSS_CONTAINER_OPTS="--platform linux/arm64/v8"
|
||||||
|
fi
|
||||||
npm run cross-release -- --target $target
|
npm run cross-release -- --target $target
|
||||||
npm run pack-build -- --target $target
|
npm run pack-build -- --target $target
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user