Skip to content

Commit 766d25a

Browse files
committed
Add tests to macos runner
1 parent 0a38bab commit 766d25a

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/libtest-macosarmcross.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,25 @@ jobs:
3333
- name: Set up NodeJS
3434
uses: actions/setup-node@v4
3535
with:
36-
node-version: 18
36+
node-version: 20
3737

3838
- name: Install dependencies
3939
run: npm install --ignore-scripts
4040

4141
- name: Build library
4242
run: BUILDARCH="arm64" npm run dobuild
4343

44-
# - name: Run unit tests
45-
# run: NODE_ENV=production npm test
44+
- name: Test architecture
45+
run: lipo -info transports/http3-quiche/build_darwin_x64/Release/webtransport.node
46+
47+
- name: Run node unit tests
48+
run: NODE_ENV=production npm run test:node
49+
50+
- name: Run old unit tests
51+
run: NODE_ENV=production npm run oldtest
52+
53+
- name: Run node unit tests http2
54+
run: NODE_ENV=production npm run test:node:http2
55+
56+
- name: Run old unit tests http2
57+
run: NODE_ENV=production npm run oldtesthttp2

0 commit comments

Comments
 (0)