Skip to content

Commit

Permalink
ci: Add aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ray committed Nov 23, 2023
1 parent 2770925 commit bf28a79
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build-apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,38 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

desktop-aarch64:
# The host should always be Linux
runs-on: ubuntu-latest
name: Build on aarch64
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2
name: Run commands
with:
arch: aarch64
distro: ubuntu_latest
run: |
# install deps
# apt update
# apt install -y libcurl4-openssl-dev git cmake build-essential libssl-dev
# Install nodejs
apt install -y ca-certificates curl gnupg
mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
apt update
apt install -y nodejs
# Build
# git config --global --add safe.directory '*'
npm ci
npm run build:desktop
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: pikatorrent-${{ matrix.os }}-aarch64
path: apps/desktop/out/make/**/*

android:
name: android
runs-on: ubuntu-latest
Expand Down

0 comments on commit bf28a79

Please sign in to comment.