This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement linux export test as CI GitHub action
- Loading branch information
1 parent
7e356b4
commit 5380c62
Showing
4 changed files
with
46 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Linux Export Test | ||
|
||
on: [push] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
RUSTFLAGS: -Dwarnings | ||
CARGO_INCREMENTAL: 0 | ||
|
||
jobs: | ||
export-linux: # For now only debug export, as the release export has a bug on the Godot side. | ||
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.2 | ||
include-templates: true | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: "rust -> target" | ||
cache-all-crates: "true" | ||
- name: Build | ||
run: cd rust; cargo build | ||
|
||
- name: Godot Check | ||
run: | | ||
godot --version | ||
- name: Godot Export | ||
run: | | ||
cd godot | ||
godot --headless --import --export-release "Linux/X11" "../export/linux/Godot Spike.x86_64" | ||
ls ../export/linux/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters