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 34b0bba
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 9 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
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"node-pre-gyp": "^0.17.0",
"qrcode": "^1.5.3",
"simple-peer": "^9.11.1",
"transmission-native": "^0.4.1",
"transmission-native": "^0.4.2",
"wrtc": "^0.4.7",
"ws": "^8.12.1"
},
Expand Down

0 comments on commit 34b0bba

Please sign in to comment.