File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed
Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 3232 name : arm-prebuilds
3333 path : packages/core/prebuilds
3434
35+ build-native-darwin-arm :
36+ runs-on : macos-latest
37+
38+ steps :
39+ - uses : actions/checkout@v4
40+ with :
41+ fetch-depth : 0
42+ submodules : true
43+ - uses : pnpm/action-setup@v2
44+ - uses : actions/setup-node@v3
45+ with :
46+ cache : pnpm
47+ node-version-file : .nvmrc
48+ - run : pnpm install --frozen-lockfile --prefer-offline
49+ - name : Build native code on Darwin ARM
50+ run : pnpm moon core:build-native-addon
51+ - name : Upload Darwin ARM prebuilds
52+ uses : actions/upload-artifact@v4
53+ with :
54+ name : darwin-arm-prebuilds
55+ path : packages/core/prebuilds
56+
3557 build :
3658 runs-on : ubuntu-latest
37- needs : build-native-arm
59+ needs : [ build-native-arm, build-native-darwin-arm]
3860
3961 steps :
4062 - uses : actions/checkout@v4
5779 name : arm-prebuilds
5880 path : packages/core/prebuilds
5981
82+ - name : Download Darwin ARM prebuilds
83+ uses : actions/download-artifact@v4
84+ with :
85+ name : darwin-arm-prebuilds
86+ path : packages/core/prebuilds
87+
6088 - name : Publish the libraries
6189 run : |
6290 if [[ "${{ github.ref }}" == *"-alpha"* ]]; then
You can’t perform that action at this time.
0 commit comments