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:
1010 contents : write
1111
1212jobs :
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+
1335 build :
1436 runs-on : ubuntu-latest
37+ needs : build-native-arm
1538
1639 steps :
1740 - uses : actions/checkout@v4
2851 - name : Build the libraries
2952 run : pnpm moon run :build
3053
54+ - name : Download ARM prebuilds
55+ uses : actions/download-artifact@v4
56+ with :
57+ name : arm-prebuilds
58+ path : packages/core/prebuilds
59+
3160 - name : Publish the libraries
3261 run : |
3362 if [[ "${{ github.ref }}" == *"-alpha"* ]]; then
You can’t perform that action at this time.
0 commit comments