Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust
Rust ai-agentsai-toolsbrowserbrowser-automationcloud-browserheadlessheadless-browserkitesurfplaywrightpuppeteerrustservoweb-crawlerweb-crawlingweb-scraperweb-scraping
ci(release): add ARM64 Linux and Windows artifacts
ldm06914c609ca6a
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 9b60f340e..987ed0955 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -78,11 +78,23 @@ jobs:echo "tag=$tag" >> "$GITHUB_OUTPUT"build-linux:- name: Build Linux x86_64+ name: Build Linux ${{ matrix.arch }}needs: validate- runs-on: ubuntu-latest+ runs-on: ${{ matrix.runner }}timeout-minutes: 90- container: rust:1.96.1-bookworm+ strategy:+ fail-fast: false+ matrix:+ include:+ - arch: x86_64+ runner: ubuntu-latest+ target: x86_64-unknown-linux-gnu+ artifact: release-linux-x86_64+ - arch: aarch64+ runner: ubuntu-24.04-arm+ target: aarch64-unknown-linux-gnu+ artifact: release-linux-aarch64+ container: rust:1.96.1-bullseyesteps:- name: Checkout repositoryuses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2@@ -104,12 +116,12 @@ jobs:run: >-python3 scripts/release.py--version "${{ needs.validate.outputs.version }}"- --expected-target x86_64-unknown-linux-gnu+ --expected-target "${{ matrix.target }}"- name: Upload Linux artifactuses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:- name: release-linux-x86_64+ name: ${{ matrix.artifact }}path: dist/if-no-files-found: errorcompression-level: 0@@ -165,10 +177,22 @@ jobs:retention-days: 7build-windows:- name: Build Windows x86_64+ name: Build Windows ${{ matrix.arch }}needs: validate- runs-on: windows-2025+ runs-on: ${{ matrix.runner }}timeout-minutes: 120+ strategy:+ fail-fast: false+ matrix:+ include:+ - arch: x86_64+ runner: windows-2025+ target: x86_64-pc-windows-msvc+ artifact: release-windows-x86_64+ - arch: aarch64+ runner: windows-11-arm+ target: aarch64-pc-windows-msvc+ artifact: release-windows-aarch64steps:- name: Checkout repositoryuses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2@@ -204,12 +228,12 @@ jobs:run: >-python scripts/release.py--version "${{ needs.validate.outputs.version }}"- --expected-target x86_64-pc-windows-msvc+ --expected-target "${{ matrix.target }}"- name: Upload Windows artifactuses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:- name: release-windows-x86_64+ name: ${{ matrix.artifact }}path: dist/if-no-files-found: errorcompression-level: 0@@ -252,9 +276,11 @@ jobs:expected_archives=("moli-x86_64-unknown-linux-gnu.tar.gz"+ "moli-aarch64-unknown-linux-gnu.tar.gz""moli-x86_64-apple-darwin.tar.gz""moli-aarch64-apple-darwin.tar.gz""moli-x86_64-pc-windows-msvc.zip"+ "moli-aarch64-pc-windows-msvc.zip")for archive in "${expected_archives[@]}"; dotest -f "dist/$archive"@@ -264,8 +290,8 @@ jobs:sh -n dist/moli-installer.shartifact_count=$(find dist -maxdepth 1 -type f | wc -l)- if [[ "$artifact_count" -ne 6 ]]; then- echo "Expected 6 release assets, found $artifact_count." >&2+ if [[ "$artifact_count" -ne 8 ]]; then+ echo "Expected 8 release assets, found $artifact_count." >&2find dist -maxdepth 1 -type f -print >&2exit 1fidiff --git a/docs/RELEASING.md b/docs/RELEASING.mdindex c23a84330..b8971ff33 100644--- a/docs/RELEASING.md+++ b/docs/RELEASING.md@@ -1,13 +1,15 @@# Releasing Moli-The release workflow builds four native archives with stable asset names:+The release workflow builds six native archives with stable asset names:| System | Rust target | Archive || --- | --- | --- || Linux x86_64 | `x86_64-unknown-linux-gnu` | `moli-x86_64-unknown-linux-gnu.tar.gz` |+| Linux ARM64 | `aarch64-unknown-linux-gnu` | `moli-aarch64-unknown-linux-gnu.tar.gz` || macOS Intel | `x86_64-apple-darwin` | `moli-x86_64-apple-darwin.tar.gz` || macOS Apple Silicon | `aarch64-apple-darwin` | `moli-aarch64-apple-darwin.tar.gz` || Windows x86_64 | `x86_64-pc-windows-msvc` | `moli-x86_64-pc-windows-msvc.zip` |+| Windows ARM64 | `aarch64-pc-windows-msvc` | `moli-aarch64-pc-windows-msvc.zip` |Every archive contains the `moli` executable, project licenses, README,version marker, and third-party license notices. The workflow also publishes@@ -58,9 +60,9 @@ treats the Windows/MSVC combination as untested.3. Enter the version (with or without a leading `v`).4. Choose whether the release should be a prerelease or a draft, then run it.-The workflow validates the selected commit, builds all four native artifacts+The workflow validates the selected commit, builds all six native artifactsin parallel, verifies the expected archives, creates the corresponding-`vX.Y.Z` tag, generates release notes, and uploads six assets: four archives+`vX.Y.Z` tag, generates release notes, and uploads eight assets: six archivesand two installers. It stops without creating a release if any platform fails,if the requested version does not match the manifest, or if the tag alreadyexists. A published, non-prerelease release is explicitly marked as the latestdiff --git a/scripts/install.ps1 b/scripts/install.ps1index 7a5e21eed..3c8ef036c 100644--- a/scripts/install.ps1+++ b/scripts/install.ps1@@ -4,7 +4,13 @@ $releaseBaseUrl = if ($env:MOLI_RELEASE_BASE_URL) {} else {"https://github.com/lexmount/moli/releases/latest/download"}-$assetName = "moli-x86_64-pc-windows-msvc.zip"+$architecture = [System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture.ToString()+$target = switch ($architecture) {+ "X64" { "x86_64-pc-windows-msvc" }+ "Arm64" { "aarch64-pc-windows-msvc" }+ default { throw "Unsupported Windows architecture: $architecture" }+}+$assetName = "moli-$target.zip"$installDir = if ($env:MOLI_INSTALL_DIR) {$env:MOLI_INSTALL_DIR} else {diff --git a/scripts/install.sh b/scripts/install.shindex 77acaa2c4..03818ec28 100755--- a/scripts/install.sh+++ b/scripts/install.sh@@ -41,6 +41,9 @@ case "$moli_system:$moli_machine" inLinux:x86_64 | Linux:amd64)moli_target=x86_64-unknown-linux-gnu;;+ Linux:arm64 | Linux:aarch64)+ moli_target=aarch64-unknown-linux-gnu+ ;;Darwin:x86_64 | Darwin:amd64)moli_target=x86_64-apple-darwin;;