add unit test
This commit is contained in:
@@ -19,6 +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'
|
||||
|
||||
Reference in New Issue
Block a user