File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ # This script is used by cargo to run the test runner with the
5
+ # specified arguments.
6
+ #
7
+ # We need this script because the cwd that cargo runs the runner in changes
8
+ # depending on crate.
9
+
10
+ cd " $GITHUB_WORKSPACE /.ci/;
11
+ echo " In glue script with cwd: $( pwd) "
Original file line number Diff line number Diff line change
1
+ [target .x86_64-unknown-linux-gnu ]
2
+ # The command to execute instead of the compiled test binary. Cargo will append the
3
+ # actual path to the compiled test executable and any arguments (like --list, --exact,
4
+ # --nocapture) after this command.
5
+ # We use a tool without a slash in it so cargo will search $PATH.
6
+ #
7
+ # Before calling the `cargo test` we append the location of the glue to the path.
8
+ runner = [" cargo_glue.sh" ]
Original file line number Diff line number Diff line change @@ -152,4 +152,5 @@ jobs:
152
152
MODAL_TOKEN_ID : ${{ secrets.MODAL_TOKEN_ID }}
153
153
MODAL_TOKEN_SECRET : ${{ secrets.MODAL_TOKEN_SECRET }}
154
154
run : |
155
- echo "Stubbed out"
155
+ export PATH="$PATH:$GITHUB_WORKSPACE/.ci"
156
+ cargo --config .ci/config.toml test --workspace --exclude "optix" --exclude "path_tracer" --exclude "denoiser" --exclude "add" --exclude "ex*"
You can’t perform that action at this time.
0 commit comments