Skip to content

A fast, helpful, and open-source document parser

feat: add intel mac and windows arm releases

Logan Markewich71404309e05f
diff --git a/.github/workflows/ci-node.yml b/.github/workflows/ci-node.yml
index d2b511b..408e27b 100644
--- a/.github/workflows/ci-node.yml
+++ b/.github/workflows/ci-node.yml
@@ -28,6 +28,11 @@ jobs:
node-arch: darwin-arm64
pdfium-dylib: libpdfium.dylib
+ - os: macos-13
+ target: x86_64-apple-darwin
+ node-arch: darwin-x64
+ pdfium-dylib: libpdfium.dylib
+
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
node-arch: linux-x64-gnu
@@ -43,6 +48,11 @@ jobs:
node-arch: win32-x64-msvc
pdfium-dylib: pdfium.dll
+ - os: windows-11-arm
+ target: aarch64-pc-windows-msvc
+ node-arch: win32-arm64-msvc
+ pdfium-dylib: pdfium.dll
+
runs-on: ${{ matrix.os }}
name: Build ${{ matrix.node-arch }}
@@ -131,10 +141,14 @@ jobs:
include:
- os: macos-latest
node-arch: darwin-arm64
+ - os: macos-13
+ node-arch: darwin-x64
- os: ubuntu-latest
node-arch: linux-x64-gnu
- os: windows-latest
node-arch: win32-x64-msvc
+ - os: windows-11-arm
+ node-arch: win32-arm64-msvc
runs-on: ${{ matrix.os }}
name: Test ${{ matrix.node-arch }}
diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml
index bf68144..6ca58a6 100644
--- a/.github/workflows/ci-python.yml
+++ b/.github/workflows/ci-python.yml
@@ -26,6 +26,9 @@ jobs:
- os: macos-latest
target: aarch64-apple-darwin
+ - os: macos-13
+ target: x86_64-apple-darwin
+
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
@@ -35,6 +38,9 @@ jobs:
- os: windows-latest
target: x86_64-pc-windows-msvc
+ - os: windows-11-arm
+ target: aarch64-pc-windows-msvc
+
runs-on: ${{ matrix.os }}
name: Build ${{ matrix.target }}
@@ -189,10 +195,14 @@ jobs:
include:
- os: macos-latest
target: aarch64-apple-darwin
+ - os: macos-13
+ target: x86_64-apple-darwin
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: windows-latest
target: x86_64-pc-windows-msvc
+ - os: windows-11-arm
+ target: aarch64-pc-windows-msvc
runs-on: ${{ matrix.os }}
name: Test ${{ matrix.target }}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 424295a..f921b53 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -40,7 +40,7 @@ jobs:
build-and-test:
strategy:
matrix:
- os: [ubuntu-latest, macos-latest, windows-latest]
+ os: [ubuntu-latest, macos-latest, macos-13, windows-latest, windows-11-arm]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
@@ -64,7 +64,7 @@ jobs:
~/Library/Caches/pdfium-rs
${{ runner.os == 'Windows' && format('{0}\pdfium-rs', env.LOCALAPPDATA) || '' }}
target
- key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
+ key: ${{ matrix.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
- name: Force Ninja generator (Windows)
if: runner.os == 'Windows'
diff --git a/.github/workflows/release-crates.yml b/.github/workflows/release-crates.yml
index 960708f..890b7f2 100644
--- a/.github/workflows/release-crates.yml
+++ b/.github/workflows/release-crates.yml
@@ -86,6 +86,9 @@ jobs:
- target: aarch64-apple-darwin
os: macos-latest
artifact: lit-darwin-arm64
+ - target: x86_64-apple-darwin
+ os: macos-13
+ artifact: lit-darwin-x64
runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/release-node.yml b/.github/workflows/release-node.yml
index 017bf4d..12c2bc6 100644
--- a/.github/workflows/release-node.yml
+++ b/.github/workflows/release-node.yml
@@ -48,6 +48,11 @@ jobs:
node-arch: darwin-arm64
pdfium-dylib: libpdfium.dylib
+ - os: macos-13
+ target: x86_64-apple-darwin
+ node-arch: darwin-x64
+ pdfium-dylib: libpdfium.dylib
+
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
node-arch: linux-x64-gnu
@@ -63,6 +68,11 @@ jobs:
node-arch: win32-x64-msvc
pdfium-dylib: pdfium.dll
+ - os: windows-11-arm
+ target: aarch64-pc-windows-msvc
+ node-arch: win32-arm64-msvc
+ pdfium-dylib: pdfium.dll
+
runs-on: ${{ matrix.os }}
name: Build ${{ matrix.node-arch }}
@@ -152,10 +162,14 @@ jobs:
include:
- os: macos-latest
node-arch: darwin-arm64
+ - os: macos-13
+ node-arch: darwin-x64
- os: ubuntu-latest
node-arch: linux-x64-gnu
- os: windows-latest
node-arch: win32-x64-msvc
+ - os: windows-11-arm
+ node-arch: win32-arm64-msvc
runs-on: ${{ matrix.os }}
name: Test ${{ matrix.node-arch }}
@@ -206,6 +220,9 @@ jobs:
- target: aarch64-apple-darwin
os: macos-latest
artifact: lit-darwin-arm64
+ - target: x86_64-apple-darwin
+ os: macos-13
+ artifact: lit-darwin-x64
runs-on: ${{ matrix.os }}
steps:
@@ -301,9 +318,11 @@ jobs:
run: |
declare -A PLATFORMS=(
["darwin-arm64"]="aarch64-apple-darwin"
+ ["darwin-x64"]="x86_64-apple-darwin"
["linux-x64-gnu"]="x86_64-unknown-linux-gnu"
["linux-arm64-gnu"]="aarch64-unknown-linux-gnu"
["win32-x64-msvc"]="x86_64-pc-windows-msvc"
+ ["win32-arm64-msvc"]="aarch64-pc-windows-msvc"
)
for ARCH in "${!PLATFORMS[@]}"; do
@@ -325,9 +344,11 @@ jobs:
case "$ARCH" in
darwin-arm64) OS="darwin"; CPU="arm64" ;;
+ darwin-x64) OS="darwin"; CPU="x64" ;;
linux-x64-gnu) OS="linux"; CPU="x64" ;;
linux-arm64-gnu) OS="linux"; CPU="arm64" ;;
win32-x64-msvc) OS="win32"; CPU="x64" ;;
+ win32-arm64-msvc) OS="win32"; CPU="arm64" ;;
esac
VERSION=${{ inputs.version }}
diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml
index e48dfb0..85f15d6 100644
--- a/.github/workflows/release-python.yml
+++ b/.github/workflows/release-python.yml
@@ -47,6 +47,9 @@ jobs:
- os: macos-latest
target: aarch64-apple-darwin
+ - os: macos-13
+ target: x86_64-apple-darwin
+
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
@@ -56,6 +59,9 @@ jobs:
- os: windows-latest
target: x86_64-pc-windows-msvc
+ - os: windows-11-arm
+ target: aarch64-pc-windows-msvc
+
runs-on: ${{ matrix.os }}
name: Build ${{ matrix.target }}
@@ -212,10 +218,14 @@ jobs:
include:
- os: macos-latest
target: aarch64-apple-darwin
+ - os: macos-13
+ target: x86_64-apple-darwin
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: windows-latest
target: x86_64-pc-windows-msvc
+ - os: windows-11-arm
+ target: aarch64-pc-windows-msvc
runs-on: ${{ matrix.os }}
name: Test ${{ matrix.target }}
@@ -303,6 +313,9 @@ jobs:
- target: aarch64-apple-darwin
os: macos-latest
artifact: lit-darwin-arm64
+ - target: x86_64-apple-darwin
+ os: macos-13
+ artifact: lit-darwin-x64
runs-on: ${{ matrix.os }}
steps:
diff --git a/packages/node/package.json b/packages/node/package.json
index b052d36..e093b4f 100644
--- a/packages/node/package.json
+++ b/packages/node/package.json
@@ -52,8 +52,10 @@
},
"optionalDependencies": {
"@llamaindex/liteparse-darwin-arm64": "2.0.4",
+ "@llamaindex/liteparse-darwin-x64": "2.0.4",
"@llamaindex/liteparse-linux-arm64-gnu": "2.0.4",
"@llamaindex/liteparse-linux-x64-gnu": "2.0.4",
+ "@llamaindex/liteparse-win32-arm64-msvc": "2.0.4",
"@llamaindex/liteparse-win32-x64-msvc": "2.0.4"
},
"engines": {
diff --git a/packages/node/src/native.ts b/packages/node/src/native.ts
index c8fd3e8..d6b3192 100644
--- a/packages/node/src/native.ts
+++ b/packages/node/src/native.ts
@@ -85,6 +85,7 @@ function loadNative(): NativeBindings {
"linux-arm64-gnu": "@llamaindex/liteparse-linux-arm64-gnu",
"linux-arm64-musl": "@llamaindex/liteparse-linux-arm64-musl",
"win32-x64-msvc": "@llamaindex/liteparse-win32-x64-msvc",
+ "win32-arm64-msvc": "@llamaindex/liteparse-win32-arm64-msvc",
};
// Try platform-specific package first