-
Notifications
You must be signed in to change notification settings - Fork 82
44 lines (35 loc) · 1.12 KB
/
linux-nodejs-workflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Build-Linux-NodeJS-Module
on:
workflow_dispatch:
workflow_call:
jobs:
build-linux-nodejs-x86_64:
runs-on: kuzu-self-hosted-linux-building
steps:
- uses: actions/checkout@v3
- name: Build Node.js native module
run: |
make nodejs
make install
- name: Move Node.js native module
working-directory: install/lib/nodejs/kuzu
run: mv kuzujs.node kuzujs-linux-x64.node
- uses: actions/upload-artifact@v3
with:
name: linux-nodejs-module-x86_64
path: install/lib/nodejs/kuzu/kuzujs-linux-x64.node
build-linux-nodejs-aarch64:
runs-on: kuzu-self-hosted-linux-building-aarch64
steps:
- uses: actions/checkout@v3
- name: Build Node.js native module
run: |
make nodejs
make install
- name: Move Node.js native module
working-directory: install/lib/nodejs/kuzu
run: mv kuzujs.node kuzujs-linux-arm64.node
- uses: actions/upload-artifact@v3
with:
name: linux-nodejs-module-aarch64
path: install/lib/nodejs/kuzu/kuzujs-arm64.node