Skip to content

Commit

Permalink
Use specific language tests tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevintjeb committed Apr 13, 2024
1 parent 2b58194 commit c381585
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ matrix:
platform:
- ubuntu2204
- macos
toolchain:
- "@rules_jsonnet//jsonnet:go_jsonnet_toolchain"
- "@rules_jsonnet//jsonnet:cpp_jsonnet_toolchain"
- "@rules_jsonnet//jsonnet:rust_jsonnet_toolchain"

tasks:
rules_jsonnet:
Expand All @@ -19,16 +15,32 @@ tasks:
name: docs
platform: ${{ platform }}
working_directory: docs
test_targets:
- //...

examples_go:
name: examples
platform: ${{ platform }}
working_directory: examples
test_flags:
- "--extra_toolchains=@rules_jsonnet//jsonnet:go_jsonnet_toolchain"
test_targets:
- //...

examples_cpp:
name: examples
platform: ${{ platform }}
working_directory: examples
test_flags:
- "--extra_toolchains=${{ toolchain }}"
- "--extra_toolchains=@rules_jsonnet//jsonnet:cpp_jsonnet_toolchain"
test_targets:
- //...

examples:
examples_rust:
name: examples
platform: ${{ platform }}
working_directory: examples
test_flags:
- "--extra_toolchains=${{ toolchain }}"
- "--extra_toolchains=@rules_jsonnet//jsonnet:rust_jsonnet_toolchain"
test_targets:
- //...

0 comments on commit c381585

Please sign in to comment.