Skip to content

Mention Lua GDExtension as alternative for Godot 4 #109

Mention Lua GDExtension as alternative for Godot 4

Mention Lua GDExtension as alternative for Godot 4 #109

Workflow file for this run

name: Build
on: [push, pull_request]
defaults:
run:
shell: bash
env:
DEBUG: 1
jobs:
test_linux:
name: Run tests on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install Godot
run: |
curl --location $GODOT_RELEASE_URL --output godot.zip
unzip godot.zip
mv Godot_* godot
touch _sc_
env:
GODOT_RELEASE_URL: https://github.com/godotengine/godot/releases/download/3.5.1-stable/Godot_v3.5.1-stable_linux_headless.64.zip
- name: Build and test
run: make test-linux64
env:
GODOT_BIN: ./godot
# Windows GitHub runner does not support creating an OpenGL context for running Godot =/
# test_windows:
# name: Run tests on Windows
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: true
# - name: Install Godot
# run: |
# curl --location $GODOT_RELEASE_URL --output godot.zip
# unzip godot.zip
# mv Godot_*.exe godot.exe
# touch _sc_
# env:
# GODOT_RELEASE_URL: https://github.com/godotengine/godot/releases/download/3.5.1-stable/Godot_v3.5.1-stable_win64.exe.zip
# - name: Build and test
# run: make test-windows64
# env:
# CC: gcc
# GODOT_BIN: ./godot.exe
test_osx:
name: Run tests on OSX
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install Godot
run: |
curl --location $GODOT_RELEASE_URL --output godot.zip
unzip godot.zip
env:
GODOT_RELEASE_URL: https://github.com/godotengine/godot/releases/download/3.5.1-stable/Godot_v3.5.1-stable_osx.universal.zip
- name: Build and test
run: make test-osx64
env:
GODOT_BIN: ./Godot.app/Contents/MacOS/Godot