From f7653fd5b8ae9a064d86ea384a6f79d7d1573037 Mon Sep 17 00:00:00 2001 From: Dorian Percic Date: Wed, 24 Apr 2024 11:18:15 +0200 Subject: [PATCH] Implement linux export test as CI GitHub action --- .github/workflows/linux_export.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/linux_export.yml diff --git a/.github/workflows/linux_export.yml b/.github/workflows/linux_export.yml new file mode 100644 index 0000000..4c01067 --- /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: | + ls ${{ github.workspace }}/rust/target/release + + - name: Execute Godot Export + run: | + cd ${{ github.workspace }}/rust/target/release