-
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
1 parent
40f1332
commit a2a0834
Showing
1 changed file
with
4 additions
and
8 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 |
---|---|---|
|
@@ -31,12 +31,8 @@ jobs: | |
|
||
- name: 🦀 Update Rust | ||
run: | | ||
echo "TARGET=${{ env.LINUX_64_TARGET }}" >> $GITHUB_ENV | ||
echo --- | ||
echo ${TARGET} | ||
echo --- | ||
rustup update | ||
rustup target add ${TARGET} | ||
rustup target add ${{ env.LINUX_64_TARGET }} | ||
- name: 🦀 Build Rust code | ||
run: | | ||
|
@@ -47,7 +43,7 @@ jobs: | |
--manifest-path ./addons/glecs/rust/glecs/Cargo.toml \ | ||
--features compile_bindings \ | ||
--target-dir ./addons/glecs/bin \ | ||
--target ${{ env.TARGET }} | ||
--target ${{ env.LINUX_64_TARGET }} | ||
# Copy library for use in test suite | ||
cp ./addons/glecs/bin/${TARGET}/release ./addons/glecs/bin/debug -r | ||
|
@@ -74,9 +70,9 @@ jobs: | |
uses: actions/cache/[email protected] | ||
with: | ||
# A list of files, directories, and wildcard patterns to cache and restore | ||
path: ./addons/glecs/bin/${{ env.TARGET }}/release | ||
path: ./addons/glecs/bin/${{ env.LINUX_64_TARGET }}/release | ||
# An explicit key for restoring and saving the cache | ||
key: glecslib.${{ env.TARGET }} | ||
key: glecslib.${{ env.LINUX_64_TARGET }} | ||
# An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms | ||
enableCrossOsArchive: true | ||
|
||
|