Skip to content

Commit 78a8715

Browse files
authored
Fix cd on macOS arm64
1 parent ed4c6b6 commit 78a8715

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/cd-macos-arm64.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
fetch-depth: 1
2323
- name: config
24-
run: xmake config --yes -vD
24+
run: xmake config --yes -vD -a ${{ matrix.arch }}
2525
- name: build
2626
run: xmake build --yes -vD s7
2727
- name: install

.github/workflows/ci-macos-arm64.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ jobs:
2222
with:
2323
fetch-depth: 1
2424
- name: config
25-
run: xmake config --yes -vD -m releasedbg
25+
run: xmake config --yes -vD -m releasedbg -a ${{ matrix.arch }}
2626
- name: build
2727
run: xmake build --yes -vD s7
28-
- name: test
29-
run: xmake run --yes -vD plus.scm
30-

xmake.lua

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ target("s7") do
2929
else
3030
print("Unsupported platform!!!")
3131
end
32+
if is_plat("macosx") and is_arch("arm64") then
33+
os.exec("codesign --force --sign - $(buildir)/s7_macosx_arm64")
34+
end
3235
end)
3336
end
3437

0 commit comments

Comments
 (0)