Skip to content
This repository was archived by the owner on Jun 15, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions .github/workflows/belmont.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: "godot-ci export"
on: push

env:
GODOT_VERSION: 3.5.1

jobs:
export-windows:
name: Windows Export
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:3.5.1
steps:
- name: Checkout main repo
uses: actions/checkout@v2
with:
lfs: true
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build-windows.yml
workflow_conclusion: success
repo: toastware/oftoast2-gdnative
- name: Setup
run: |
cp windows-native/gddl.dll libgddl.dll
cp windows-native/gddl.dll gdnative/windows/libgddl.dll
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Windows Build
run: |
mkdir -v -p build/windows
godot -v --export "Windows Desktop" build/windows/belmont.exe
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: windows
path: build/windows/

export-linux:
name: Linux Export
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:3.5.1
steps:
- name: Checkout main repo
uses: actions/checkout@v2
with:
lfs: true
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build-linux.yml
workflow_conclusion: success
repo: toastware/oftoast2-gdnative
- name: Setup
run: |
cp linux/libgddl.so .
cp linux/libgddl.so gdnative/linuxbsd/libgddl.so
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Linux Build
run: |
mkdir -v -p build/linux
godot -v --export "Linux/X11" build/linux/belmont.x86_64
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: linux
path: build/linux