This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
drag and drop basic (#106) #49
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
name: Windows Export | |
on: [push] | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: -Dwarnings | |
CARGO_INCREMENTAL: 0 | |
jobs: | |
export-windows: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: sh | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- uses: rui314/setup-mold@v1 | |
- uses: chickensoft-games/setup-godot@v1 | |
name: Setup Godot | |
with: | |
version: 4.2.2 | |
include-templates: true | |
use-dotnet: false | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: "rust -> target" | |
cache-all-crates: "true" | |
- name: Install just | |
run: cargo install just | |
- name: just Check | |
run: just --version | |
- name: Godot Check | |
run: | | |
godot --version | |
- name: Godot Export | |
run: | | |
set -x | |
mkdir godot/.godot | |
touch godot/.godot/extension_list.cfg | |
echo "res://rust.gdextension" >> godot/.godot/extension_list.cfg | |
just windows-release |