Skip to content

Commit 243f209

Browse files
committed
ci: add x86_64 macOS cross-compilation build to GitHub Actions
1 parent 61f7668 commit 243f209

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ jobs:
4949
build-target: linux64_nowallet
5050
container-path: ${{ needs.container.outputs.path }}
5151

52+
depends-mac:
53+
name: x86_64-apple-darwin
54+
uses: ./.github/workflows/build-depends.yml
55+
needs: [container]
56+
with:
57+
build-target: mac
58+
container-path: ${{ needs.container.outputs.path }}
59+
5260
depends-win64:
5361
name: x86_64-w64-mingw32
5462
uses: ./.github/workflows/build-depends.yml
@@ -138,6 +146,15 @@ jobs:
138146
container-path: ${{ needs.container.outputs.path }}
139147
depends-key: ${{ needs.depends-linux64.outputs.key }}
140148

149+
src-mac:
150+
name: mac-build
151+
uses: ./.github/workflows/build-src.yml
152+
needs: [container, depends-mac]
153+
with:
154+
build-target: mac
155+
container-path: ${{ needs.container.outputs.path }}
156+
depends-key: ${{ needs.depends-mac.outputs.key }}
157+
141158
src-win64:
142159
name: win64-build
143160
uses: ./.github/workflows/build-src.yml

0 commit comments

Comments
 (0)