run bazel test
This simplifies the tests somewhat.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
image: debian/stable
|
||||
packages:
|
||||
- direnv
|
||||
- file
|
||||
- shellcheck
|
||||
- qemu-user
|
||||
sources:
|
||||
- https://git.sr.ht/~motiejus/bazel-zig-cc
|
||||
environment:
|
||||
@@ -19,12 +19,9 @@ tasks:
|
||||
shellcheck -x $(awk '/#!\/bin\/(ba)?sh/&&FNR==1{print FILENAME}' $(git ls-files))
|
||||
bazel run //:buildifier
|
||||
git diff --exit-code
|
||||
- test_native: |
|
||||
cd bazel-zig-cc; . .envrc
|
||||
bazel test //...
|
||||
- test_list_toolchains: |
|
||||
cd bazel-zig-cc; . .envrc; echo "Available toolchains:"
|
||||
bazel query @zig_sdk//... | sed -En '/.*_toolchain$/ s/.*:(.*)_toolchain$/\1/p'
|
||||
- test_hello_on_toolchains: |
|
||||
cd bazel-zig-cc
|
||||
./ci/test
|
||||
./ci/test --color=yes --curses=yes
|
||||
|
||||
Reference in New Issue
Block a user