Skip to content

Commit

Permalink
ci: add x86_64 macOS cross-compilation build to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Feb 14, 2025
1 parent cd417e4 commit bc0c592
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ jobs:
build-target: linux64_nowallet
container-path: ${{ needs.container.outputs.path }}

depends-mac:
name: x86_64-apple-darwin
uses: ./.github/workflows/build-depends.yml
needs: [container]
with:
build-target: mac
container-path: ${{ needs.container.outputs.path }}

depends-win64:
name: x86_64-w64-mingw32
uses: ./.github/workflows/build-depends.yml
Expand Down Expand Up @@ -138,6 +146,15 @@ jobs:
container-path: ${{ needs.container.outputs.path }}
depends-key: ${{ needs.depends-linux64.outputs.key }}

src-mac:
name: mac-build
uses: ./.github/workflows/build-src.yml
needs: [container, depends-mac]
with:
build-target: mac
container-path: ${{ needs.container.outputs.path }}
depends-key: ${{ needs.depends-mac.outputs.key }}

src-win64:
name: win64-build
uses: ./.github/workflows/build-src.yml
Expand Down

0 comments on commit bc0c592

Please sign in to comment.