Skip to content

Commit

Permalink
update CI to use Godot w/Bitcoin module
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-L2L committed Jul 29, 2024
1 parent dea3816 commit bddb69f
Showing 1 changed file with 27 additions and 6 deletions.
33 changes: 27 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,40 @@ jobs:
fail-fast: false
matrix:
build: [macos, windows, linux]
include:
- build: linux
godot-bin: 'godot.linuxbsd.editor.x86_64.mono'
- build: macos
godot-bin: 'godot.macos.editor.universal'
# Windows build runs on Ubuntu
- build: windows
godot-bin: 'godot.linuxbsd.editor.x86_64.mono'

steps:
- uses: actions/checkout@v3

- uses: chickensoft-games/setup-godot@v1
#- uses: chickensoft-games/setup-godot@v1
#with:
#version: 4.2.1
#use-dotnet: false
#include-templates: true

- name: Download Godot w/Bitcoin module
uses: robinraju/release-downloader@v1.11
with:
version: 4.2.1
use-dotnet: false
include-templates: true
repository: LayerTwo-Labs/godot-bitcoin-module
tag: v4.2.2-bitcoin
filename: ${{ matrix.godot-bin }}

# FIXME: remove
- name: show files
run: ls

# FIXME: unknown binary location
- name: Verify Setup
run: |
godot --version
chmod +x ${{ matrix.godot-bin }}
./${{ matrix.godot-bin }} --version
- name: Import certificate to Keychain
if: ${{ matrix.build == 'macos' }}
Expand All @@ -49,7 +70,7 @@ jobs:
- name: Export build
run: |
name="${{fromJSON('{"windows": "Windows Desktop", "macos": "macOS", "linux": "Linux/X11"}')[matrix.build] }}"
godot --headless --export-debug "$name" --verbose 2>&1 | tee build.log
./${{ matrix.godot-bin }} --headless --export-debug "$name" --verbose 2>&1 | tee build.log
env:
GODOT_MACOS_NOTARIZATION_API_KEY_ID:
Expand Down

0 comments on commit bddb69f

Please sign in to comment.