We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1dd033 commit 1e84da2Copy full SHA for 1e84da2
ci/script.sh
@@ -2,20 +2,22 @@
2
3
set -ex
4
5
-# TODO This is the "test phase", tweak it as you see fit
6
main() {
+ # Build debug and release targets
7
cross build --target $TARGET
8
cross build --target $TARGET --release
9
10
if [ ! -z $DISABLE_TESTS ]; then
11
return
12
fi
13
14
+ # Run tests on debug and release targets.
15
cross test --target $TARGET
16
cross test --target $TARGET --release
17
- cross run --target $TARGET
18
- cross run --target $TARGET --release
+ # nix is a library -- no run target
19
+ # cross run --target $TARGET
20
+ # cross run --target $TARGET --release
21
}
22
23
# we don't run the "test phase" when doing deploys
0 commit comments