Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bend-n/godot-builds
builds godot
https://github.com/bend-n/godot-builds
Last synced: 6 days ago
JSON representation
builds godot
- Host: GitHub
- URL: https://github.com/bend-n/godot-builds
- Owner: bend-n
- License: mit
- Created: 2022-07-21T02:59:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-15T12:43:05.000Z (3 months ago)
- Last Synced: 2024-08-15T14:38:36.997Z (3 months ago)
- Language: Dockerfile
- Size: 141 KB
- Stars: 21
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-godot - bend-n's 2D builds - Godot builds [optimized for size](https://docs.godotengine.org/en/stable/development/compiling/optimizing_for_size.html) with [these modules disabled](https://github.com/bend-n/godot-builds/blob/main/.github/2d-build-modules.py). Also includes misc non breaking patches. (Unofficial Godot builds / 3D)
README
# godot builds
[![version](https://img.shields.io/badge/4.x-blue?logo=godot-engine&logoColor=white&label=godot&style=for-the-badge)](https://godotengine.org)
[![aur](https://img.shields.io/aur/version/godot2d?color=informative&logo=archlinux&logoColor=white&style=for-the-badge)](https://aur.archlinux.org/packages/godot2d "Aur package")
Creates two packages.
- `godot`: Docker images with the _normal_ godot build.
- `godot-2d`: Docker images with the _2d_ godot build.
This build is smaller, and tailored for 2d games.## How to use
For a full example, see this [template](https://github.com/bend-n/godot-template/blob/9c9e2b02ddf9f88bff872dcd2695363d09485bc4/.github/workflows/export.yml).
With helpers (recomended)
```yaml
build-windows:
runs-on: ubuntu-latest
container:
image: ghcr.io/bend-n/godot-2d:4.0
name: Build windows
steps:
- name: Build (Windows)
uses: bend-n/godot-actions/.github/actions/export-windows@main
env:
NAME: ${{ github.event.repository.name }}
```Manually
> **Warning**
> This method has _not_ been tested.```yaml
build-windows:
runs-on: ubuntu-latest
container:
image: ghcr.io/bend-n/godot-2d:4.0
name: Build windows
steps:
- name: Checkout
uses: actions/checkout@v3- name: Setup godot
run: |
RELEASE=stable; GODOT_VERSION=4.0.rc;
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE} ~/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE}- name: Build
run: |
mkdir -p build/windows
godot --export Windows "./build/windows/${GAME_NAME}.exe"
env:
GAME_NAME: ${{ github.event.repository.name }}- name: Upload
uses: actions/upload-artifact@v3
with:
name: windows
path: build/windows
```