Skip to content

Commit 1e84da2

Browse files
berkowskiSusurrus
authored andcommitted
Removed 'cargo run' directives from ci script.
1 parent c1dd033 commit 1e84da2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ci/script.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,22 @@
22

33
set -ex
44

5-
# TODO This is the "test phase", tweak it as you see fit
65
main() {
6+
# Build debug and release targets
77
cross build --target $TARGET
88
cross build --target $TARGET --release
99

1010
if [ ! -z $DISABLE_TESTS ]; then
1111
return
1212
fi
1313

14+
# Run tests on debug and release targets.
1415
cross test --target $TARGET
1516
cross test --target $TARGET --release
1617

17-
cross run --target $TARGET
18-
cross run --target $TARGET --release
18+
# nix is a library -- no run target
19+
# cross run --target $TARGET
20+
# cross run --target $TARGET --release
1921
}
2022

2123
# we don't run the "test phase" when doing deploys

0 commit comments

Comments
 (0)