-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
GsLogimaker
committed
May 16, 2024
1 parent
d12973a
commit a577938
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,20 +60,21 @@ jobs: | |
- name: 🦀 Build Rust code | ||
run: | | ||
cargo build \ | ||
--release \ | ||
# --release \ | ||
--manifest-path ./addons/glecs/rust/glecs/Cargo.toml \ | ||
--features compile_bindings \ | ||
--target-dir ./addons/glecs/bin \ | ||
--target ${{ matrix.target }} | ||
# Copy library for use in test suite | ||
cp -r ./addons/glecs/bin/${TARGET}/release ./addons/glecs/bin/debug | ||
cp -r ./addons/glecs/bin/${TARGET}/debug ./addons/glecs/bin/debug | ||
# cp -r ./addons/glecs/bin/${TARGET}/release ./addons/glecs/bin/debug | ||
- name: 💾 Cache compiled library | ||
uses: actions/cache/[email protected] | ||
with: | ||
# A list of files, directories, and wildcard patterns to cache and restore | ||
path: ./addons/glecs/bin/${{ matrix.target }}/release/${{ matrix.glecs_lib }} | ||
path: ./addons/glecs/bin/${{ matrix.target }}/debug/${{ matrix.glecs_lib }} | ||
# An explicit key for restoring and saving the cache | ||
key: glecslib.${{ matrix.target }} | ||
|
||
|
@@ -113,8 +114,8 @@ jobs: | |
run: | | ||
mkdir ./addons/glecs/bin/release/ | ||
mkdir ./addons/glecs/bin/debug/ | ||
cp ./addons/glecs/bin/${{ matrix.target }}/release/${{ matrix.glecs_lib }} ./addons/glecs/bin/release/${{ matrix.glecs_lib }} | ||
cp ./addons/glecs/bin/${{ matrix.target }}/release/${{ matrix.glecs_lib }} ./addons/glecs/bin/debug/${{ matrix.glecs_lib }} | ||
cp ./addons/glecs/bin/${{ matrix.target }}/debug/${{ matrix.glecs_lib }} ./addons/glecs/bin/release/${{ matrix.glecs_lib }} | ||
cp ./addons/glecs/bin/${{ matrix.target }}/debug/${{ matrix.glecs_lib }} ./addons/glecs/bin/debug/${{ matrix.glecs_lib }} | ||
- name: 🤖 Run Godot unit tests | ||
id: run-godot-tests | ||
|