diff --git a/.github/workflows/linux_export.yml b/.github/workflows/linux_export.yml new file mode 100644 index 0000000..8795f7e --- /dev/null +++ b/.github/workflows/linux_export.yml @@ -0,0 +1,26 @@ +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: Swatinem/rust-cache@v2 + with: + workspaces: "rust -> target" + cache-all-crates: "true" + - name: Build + run: cd rust; cargo build --release + + - name: Godot Export + run: | + cd ../godot + godot --headless --export-debug "Linux/X11" "../export/linux/Godot Spike.x86_64"