Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Implement linux export test as CI GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianpercic committed Apr 24, 2024
1 parent 7e356b4 commit fc5b2c8
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/linux_export.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Linux Export Test

on: [push]

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
CARGO_INCREMENTAL: 0

jobs:
rust-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: rui314/setup-mold@v1
- uses: chickensoft-games/setup-godot@v1
name: 🤖 Setup Godot
with:
version: 4.2.1
include-templates: true
- name: Build
run: cd rust; cargo build --release

- name: Godot Check
run: |
godot --version
- name: Godot Export
run: |
cd godot
godot --headless --export-debug "Linux/X11" "../export/linux/Godot Spike.x86_64"
if [ ! -f "../export/linux/Godot Spike" ]; then
echo "Exported file not found"
exit 1
fi

0 comments on commit fc5b2c8

Please sign in to comment.