Skip to content

Commit

Permalink
Introduce Godot Rust Script
Browse files Browse the repository at this point in the history
  • Loading branch information
TitanNano committed Dec 18, 2023
1 parent c65a6d8 commit af191cc
Show file tree
Hide file tree
Showing 17 changed files with 1,274 additions and 33 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
env:
TARGET_TRIPLET: ${{ matrix.arch }}-${{ matrix.vendor }}-${{ matrix.platform }}${{ matrix.env }}
CARGO_BUILD: cargo build --target
CARGO_BUILD_RUSTFLAGS: ${{ startsWith(matrix.os, 'windows') && '-Ccodegen-units=1' || '' }}

steps:
- name: checkout
Expand All @@ -62,7 +63,7 @@ jobs:
if: inputs.release
run: |
cd native/
${{ env.CARGO_BUILD}} ${{ env.TARGET_TRIPLET}} --release
${{ env.CARGO_BUILD }} ${{ env.TARGET_TRIPLET}} --release
- name: Artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
Loading

0 comments on commit af191cc

Please sign in to comment.