File tree Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 1- name : macOS
1+ name : macOS (x86_64)
22
33on : [push, pull_request]
44
55jobs :
66 release :
77 runs-on : macos-13
88 steps :
9- - uses : actions/checkout@v3
9+ - uses : actions/checkout@v4
1010 - name : Build
1111 run : ./src/scripts/build_mac_ci.sh
1212 - name : Artifact
Original file line number Diff line number Diff line change 1+ name : macOS (arm64)
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ release :
7+ runs-on : macos-15
8+ steps :
9+ - uses : actions/checkout@v4
10+ - name : Build
11+ run : ./src/scripts/build_mac_ci.sh
12+ - name : Artifact
13+ uses : actions/upload-artifact@v4
14+ with :
15+ name : friction-ci-macOS-arm64
16+ path : build-release/*.dmg
Original file line number Diff line number Diff line change 2121set -e -x
2222
2323CWD=` pwd`
24-
24+ CPU= ` uname -m `
2525SDK=1.0.0
26+
2627URL=https://github.com/friction2d/friction-sdk/releases/download/v${SDK}
27- SDK_TAR=friction-sdk-${SDK} -macOS-x86_64 .tar.xz
28+ SDK_TAR=friction-sdk-${SDK} -macOS-${CPU} .tar.xz
2829
2930if [ ! -d " ${CWD} /sdk" ]; then
3031 curl -OL ${URL} /${SDK_TAR}
You can’t perform that action at this time.
0 commit comments