File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,31 @@ permissions:
10
10
contents : write
11
11
12
12
jobs :
13
+ build-native-arm :
14
+ runs-on : codspeedhq-arm64-ubuntu-22.04
15
+
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ with :
19
+ fetch-depth : 0
20
+ submodules : true
21
+ - uses : pnpm/action-setup@v2
22
+ - uses : actions/setup-node@v3
23
+ with :
24
+ cache : pnpm
25
+ node-version-file : .nvmrc
26
+ - run : pnpm install --frozen-lockfile --prefer-offline
27
+ - name : Build native code on ARM
28
+ run : pnpm moon core:build-native-addon
29
+ - name : Upload ARM prebuilds
30
+ uses : actions/upload-artifact@v4
31
+ with :
32
+ name : arm-prebuilds
33
+ path : packages/core/prebuilds
34
+
13
35
build :
14
36
runs-on : ubuntu-latest
37
+ needs : build-native-arm
15
38
16
39
steps :
17
40
- uses : actions/checkout@v4
28
51
- name : Build the libraries
29
52
run : pnpm moon run :build
30
53
54
+ - name : Download ARM prebuilds
55
+ uses : actions/download-artifact@v4
56
+ with :
57
+ name : arm-prebuilds
58
+ path : packages/core/prebuilds
59
+
31
60
- name : Publish the libraries
32
61
run : |
33
62
if [[ "${{ github.ref }}" == *"-alpha"* ]]; then
You can’t perform that action at this time.
0 commit comments