diff --git a/.github/workflows/linux_export.yml b/.github/workflows/linux_export.yml new file mode 100644 index 0000000..8ffbf60 --- /dev/null +++ b/.github/workflows/linux_export.yml @@ -0,0 +1,29 @@ +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: Log Binary Location + run: | + echo "Binary is located at: ${{ github.workspace }}/rust/target/release" + + - name: Execute Godot Export + run: | + cd ${{ github.workspace }}/rust/target/release