Skip to content

Jd

Jd #1

Workflow file for this run

name: Build ChatGPT for ARM Cortex-A72 (Linux AArch64)
on:
workflow_dispatch:
jobs:
build-arm64:
runs-on: ubuntu-22.04 # GitHub-hosted ARM64 runner
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install Rust toolchain (with target)
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
rustup target add aarch64-unknown-linux-gnu
rustup update
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev \
build-essential \
libssl-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
curl git pkg-config libglib2.0-dev \
libgdk-pixbuf2.0-dev libgtk-3-dev
- name: Install frontend dependencies
run: npm ci
- name: Build ChatGPT with Tauri (ARM64)
env:
TAURI_ARCH: aarch64
run: |
source $HOME/.cargo/env
npm run tauri build -- --target aarch64-unknown-linux-gnu

Check failure on line 47 in .github/workflows/build-arm64.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-arm64.yml

Invalid workflow file

You have an error in your yaml syntax on line 47
- name: Upload Linux AArch64 artifact
uses: actions/upload-artifact@v4
with:
name: chatgpt-linux-arm64
path: src-tauri/target/aarch64-unknown-linux-gnu/release/bundle