Skip to content

Commit

Permalink
fix template testing in CI
Browse files Browse the repository at this point in the history
added overwriting of remote dependencies to local ones
  • Loading branch information
xxshady committed Dec 21, 2024
1 parent 1a14908 commit 51940d8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,38 @@ jobs:
- name: check examples
run: |
cd examples/template
cargo add relib_module --path ../../module --package module
cargo add relib_host --path ../../host --package host
cargo rm relib_interface --package host
cargo rm relib_interface --package host --build
cargo add relib_interface --path ../../interface --package host --features include
cargo add relib_interface --path ../../interface --package host --features build --build
cargo rm relib_interface --package module
cargo rm relib_interface --package module --build
cargo add relib_interface --path ../../interface --package module --features include
cargo add relib_interface --path ../../interface --package module --features build --build
cargo build --workspace
cargo clippy --workspace
cargo build --workspace --features unloading
cargo clippy --workspace --features unloading
cd ../abi_stable_usage
cargo build --workspace
cargo clippy --workspace
cargo build --workspace --features unloading
cargo clippy --workspace --features unloading
cd ../custom_global_alloc
cargo build --workspace
cargo clippy --workspace
cargo build --workspace --features unloading
cargo clippy --workspace --features unloading
cd ../live_reload
cargo build --workspace
cargo clippy --workspace
cd ../export_main_macro
cargo build --workspace
cargo clippy --workspace
1 change: 0 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[submodule "examples/template"]
path = examples/template
url = https://github.com/xxshady/relib-template
branch = "temp"
2 changes: 1 addition & 1 deletion examples/template

0 comments on commit 51940d8

Please sign in to comment.