Ver Fonte

[godot] Add self-hosted macOS runner for debugging GH workflow.

Mario Zechner há 2 anos atrás
pai
commit
9b7ee427db
1 ficheiros alterados com 26 adições e 0 exclusões
  1. 26 0
      .github/workflows/spine-godot-v4.yml

+ 26 - 0
.github/workflows/spine-godot-v4.yml

@@ -114,6 +114,32 @@ jobs:
           name: ${{ format('{0}-{1}{2}.zip', 'godot-editor-macos', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
           path: spine-godot/godot/bin/godot-editor-macos.zip
 
+  godot-editor-macos-self-hosted:
+    runs-on: Marios-MacBook-Pro
+    steps:
+      - uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
+
+      - name: Setup python and scons
+        uses: ./.github/actions/setup-godot-deps
+
+      - name: Build Godot artifact
+        shell: bash
+        run: |
+          ./spine-godot/build/install-macos-vulkan-sdk.sh
+          ./spine-godot/build/setup.sh $GODOT_TAG false $GODOT_MONO
+          ./spine-godot/build/build-v4.sh $GODOT_MONO
+          pushd spine-godot/godot/bin
+          zip -r godot-editor-macos.zip Godot.app
+          popd
+
+      - name: Upload artifacts
+        uses: actions/upload-artifact@v3
+        with:
+          name: ${{ format('{0}-{1}{2}.zip', 'godot-editor-macos', env.GODOT_TAG, env.GODOT_MONO_UPLOAD_SUFFIX) }}
+          path: spine-godot/godot/bin/godot-editor-macos.zip
+
   godot-template-ios:
     runs-on: macos-latest
     if: ${{ inputs.godot_mono == false }}