Skip to content

Commit b5078c0

Browse files
committed
Add support for linux arm builds
1 parent a695d54 commit b5078c0

File tree

2 files changed

+115
-4
lines changed

2 files changed

+115
-4
lines changed
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Linux Automated build and client/server unit tests
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the master branch
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
# This workflow contains a single job called "build"
19+
build-linux:
20+
# The type of runner that the job will run on
21+
runs-on: ubuntu-24.04-arm
22+
23+
# Steps represent a sequence of tasks that will be executed as part of the job
24+
steps:
25+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26+
- uses: actions/checkout@v4
27+
with:
28+
submodules: recursive
29+
30+
- name: Set up NodeJS
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version: 20
34+
35+
- name: Install dependencies
36+
run: npm install --ignore-scripts
37+
38+
- name: Install playwright system dependencies
39+
run: npx playwright install --with-deps
40+
41+
- name: Lint files
42+
run: npm run lint
43+
44+
- name: Build types
45+
run: npm run types
46+
47+
- name: Build library
48+
run: npm run dobuild
49+
50+
- name: Run node unit tests http2
51+
run: NODE_ENV=production npm run test:node:http2
52+
53+
- name: Run firefox unit tests http2 polyfill
54+
run: NODE_ENV=production npm run test:firefox:http2:polyfill
55+
56+
- name: Run firefox unit tests http2 ponyfill
57+
run: NODE_ENV=production npm run test:firefox:http2:ponyfill
58+
59+
- name: Run webkit unit tests http2 polyfill
60+
run: NODE_ENV=production npm run test:webkit:http2:polyfill
61+
62+
- name: Run webkit unit tests http2 ponyfill
63+
run: NODE_ENV=production npm run test:webkit:http2:ponyfill
64+
65+
- name: Run chromium unit tests http2 polyfill
66+
run: NODE_ENV=production npm run test:chromium:http2:polyfill
67+
68+
- name: Run chromium unit tests http2 ponyfill
69+
run: NODE_ENV=production npm run test:chromium:http2:ponyfill
70+
71+
- name: Run node unit tests
72+
run: NODE_ENV=production npm run test:node
73+
74+
- name: Run chromium unit tests
75+
run: NODE_ENV=production npm run test:chromium
76+
77+
- name: Run chromium unit tests 1
78+
run: NODE_ENV=production npm run test:chromium
79+
80+
- name: Run chromium unit tests 2
81+
run: NODE_ENV=production npm run test:chromium
82+
83+
- name: Run chromium unit tests 3
84+
run: NODE_ENV=production npm run test:chromium
85+
86+
- name: Run chromium unit tests 4
87+
run: NODE_ENV=production npm run test:chromium
88+
89+
- name: Run chromium unit tests 5
90+
run: NODE_ENV=production npm run test:chromium
91+
92+
- name: Run chromium unit tests 6
93+
run: NODE_ENV=production npm run test:chromium
94+
95+
- name: Run chromium unit tests 7
96+
run: NODE_ENV=production npm run test:chromium
97+
98+
- name: Run chromium unit tests 8
99+
run: NODE_ENV=production npm run test:chromium
100+
101+
- name: Run chromium unit tests 9
102+
run: NODE_ENV=production npm run test:chromium
103+
104+
- name: Run chromium unit tests 10
105+
run: NODE_ENV=production npm run test:chromium
106+
107+
- name: Run old unit tests
108+
run: NODE_ENV=production npm run oldtest
109+
110+
- name: Run old unit tests http2
111+
run: NODE_ENV=production npm run oldtesthttp2

.github/workflows/publish-packages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- arch: ia32
6363
os: windows-2019
6464
- arch: arm64
65-
os: macos-latest
65+
os: [macos-latest, ubuntu-22.04-arm]
6666
runs-on: ${{ matrix.os }}
6767
permissions:
6868
contents: write
@@ -86,7 +86,7 @@ jobs:
8686
submodules: recursive
8787
- uses: actions/setup-node@v4
8888
with:
89-
node-version: 18
89+
node-version: 20
9090
registry-url: https://npm.pkg.github.com/
9191
- name: Install
9292
if: needs.version-check.outputs.changed == 'true'
@@ -146,7 +146,7 @@ jobs:
146146

147147
- uses: actions/setup-node@v4
148148
with:
149-
node-version: 18
149+
node-version: 20
150150
registry-url: https://npm.pkg.github.com/
151151

152152
- name: Install
@@ -192,7 +192,7 @@ jobs:
192192

193193
- uses: actions/setup-node@v4
194194
with:
195-
node-version: 18
195+
node-version: 20
196196
registry-url: https://registry.npmjs.org/
197197

198198
- name: Install

0 commit comments

Comments
 (0)