Skip to content

Commit de42560

Browse files
Update build workflow for ARM64 architecture
1 parent f6f960a commit de42560

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -60,29 +60,19 @@ jobs:
6060
npm install ws
6161
node tests/smoke.js
6262
build-arm:
63-
runs-on: ubuntu-24.04
64-
name: Build on ${{ matrix.arch }}
65-
strategy:
66-
matrix:
67-
include:
68-
- arch: aarch64
69-
os: ubuntu24.04
63+
runs-on: [ubuntu-24.04, arm64]
64+
name: Build on ARM64
7065
steps:
7166
- name: Clone
7267
run: git clone --recursive https://github.com/uNetworking/uWebSockets.js.git
73-
- uses: uraimo/[email protected]
74-
name: Compile binaries
75-
with:
76-
arch: ${{ matrix.arch }}
77-
distro: ${{ matrix.os }}
78-
dockerRunArgs: |
79-
--volume "${PWD}/uWebSockets.js:/repository"
80-
install: |
81-
apt-get update -q -y
82-
apt-get install -q -y build-essential cmake libz-dev golang curl libunwind-dev clang
83-
run: |
84-
cd /repository
85-
make
68+
- name: Install dependencies
69+
run: |
70+
sudo apt-get update -q -y
71+
sudo apt-get install -q -y build-essential cmake libz-dev golang curl libunwind-dev clang
72+
- name: Compile binaries
73+
run: |
74+
cd uWebSockets.js
75+
make
8676
- name: Update binaries
8777
run: |
8878
cd uWebSockets.js
@@ -96,5 +86,5 @@ jobs:
9686
git config --global user.email "[email protected]"
9787
git config --global user.name "Alex Hultman"
9888
git add *.node *.js
99-
git commit -a -m "[GitHub Actions] Updated linux-${{ matrix.arch }} binaries" || true
89+
git commit -a -m "[GitHub Actions] Updated linux-arm64 binaries" || true
10090
git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/uNetworking/uWebSockets.js" binaries

0 commit comments

Comments
 (0)