Skip to content

Commit

Permalink
CI: add MacOS target
Browse files Browse the repository at this point in the history
Commit made in blind
  • Loading branch information
Lecrapouille committed Nov 4, 2024
1 parent a8bd96a commit 72bdc8f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,32 @@ jobs:
with:
artifacts: "gdcef-artifacts-godot_4-linux_x86_64.tar.gz"

#############################################################################
### MacOS
#############################################################################
build_macos:
name: Build on MacOS
runs-on: macos-14
steps:
- name: Checkout GDCEF
uses: actions/checkout@v3
with:
ref: godot-4.x
submodules: true
- name: Compile GDCEF
run: |
cd addons/gdcef
python3 build.py
- name: Check build
run: |
ls cef_artifacts/libgdcef.dylib
tar -czvf gdcef-artifacts-godot_4-macos_x86_64.tar.gz cef_artifacts
- name: Do release
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
uses: ncipollo/release-action@v1
with:
artifacts: "gdcef-artifacts-godot_4-macos_x86_64.tar.gz"

#############################################################################
### Windows
#############################################################################
Expand Down

0 comments on commit 72bdc8f

Please sign in to comment.