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 2ff5d35
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,48 @@ 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
with:
version: 4.2.1
version: 4.2.2
use-dotnet: false
include-templates: true

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

# FIXME: remove
- name: show files
run: |
ls
echo 'TEMPLATES'
ls '/Users/runner/Library/Application Support/Godot/export_templates/4.2.2.stable'
echo 'MACOS TEMPLATES'
zipinfo -1 '/Users/runner/Library/Application Support/Godot/export_templates/4.2.2.stable/macos.zip'
echo 'VERSION TXT'
cat '/Users/runner/Library/Application Support/Godot/export_templates/4.2.2.stable/version.txt'
echo $GODOT
# FIXME: unknown binary location
- name: Verify Setup
run: |
chmod +x ${{ matrix.godot-bin }}
mv ${{ matrix.godot-bin }} $GODOT
godot --version
- name: Import certificate to Keychain
Expand Down

0 comments on commit 2ff5d35

Please sign in to comment.