Skip to content

Commit

Permalink
Update Rust in unittests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GsLogiMaker authored May 4, 2024
1 parent 0a78ba4 commit 3d0b490
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ jobs:
with:
workspaces: "./addons/glecs/rust/glecs"

- name: Build Glecs
- name: Update Rust
run: |
rustup update
- name: Build Rust code
run: |
cargo build \
--manifest-path ./addons/glecs/rust/glecs/Cargo.toml \
--features compile_bindings \
--target-dir ./addons/glecs/bin
tree ~/ -L 3
cp ./addons/glecs/bin/debug ./addons/glecs/bin/release -r
- uses: chickensoft-games/setup-godot@v1
Expand Down Expand Up @@ -66,8 +68,8 @@ jobs:
# result-output-file: test_results.xml # optional, default is test_results.
# config-file: "res://.gutconf.json"

- name: Print top files
if: always()
run: |
sudo apt install tree
tree ../../ -L 5 -a
# - name: Print top files
# if: always()
# run: |
# sudo apt install tree
# tree ../../ -L 5 -a

0 comments on commit 3d0b490

Please sign in to comment.