Skip to content

LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。

TypeScript

ci: add ARM64 Linux build via ubuntu-22.04-arm runner

nash_su9d69ec44fdf8
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f65e0c54..0d3b2dd3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -21,6 +21,11 @@ jobs:
- platform: ubuntu-22.04
args: ''
rust_target: ''
+ # GitHub-hosted ARM Linux runner (free for public repos
+ # since 2024). Native build — no cross-compile of webkit2gtk.
+ - platform: ubuntu-22.04-arm
+ args: ''
+ rust_target: ''
- platform: windows-latest
args: ''
rust_target: ''
@@ -41,11 +46,26 @@ jobs:
run: brew install protobuf
- name: Install dependencies (Ubuntu)
- if: matrix.platform == 'ubuntu-22.04'
+ if: startsWith(matrix.platform, 'ubuntu-22.04')
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf protobuf-compiler
+ # The repo ships pre-downloaded PDFium binaries under
+ # src-tauri/pdfium/ for every supported architecture
+ # (libpdfium.so = x86_64, libpdfium-arm64.so = aarch64,
+ # libpdfium.dylib = macOS, pdfium.dll = Windows). On the
+ # ARM Linux runner we swap libpdfium.so to the aarch64 build
+ # before tauri-action runs cargo. We do NOT pull from
+ # bblanchon/pdfium-binaries during CI — that download has
+ # historically failed often enough that committing the
+ # binaries is the maintenance-friendly path.
+ - name: Use ARM64 pdfium binary (Ubuntu ARM only)
+ if: matrix.platform == 'ubuntu-22.04-arm'
+ run: |
+ cp src-tauri/pdfium/libpdfium-arm64.so src-tauri/pdfium/libpdfium.so
+ file src-tauri/pdfium/libpdfium.so
+
- name: Install protoc (Windows)
if: matrix.platform == 'windows-latest'
run: choco install protoc -y
diff --git a/src-tauri/pdfium/libpdfium-arm64.so b/src-tauri/pdfium/libpdfium-arm64.so
new file mode 100644
index 00000000..a1cb014b
Binary files /dev/null and b/src-tauri/pdfium/libpdfium-arm64.so differ