Skip to content

Commit 2dad6d5

Browse files
committed
Update presubmit
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
1 parent ef786d0 commit 2dad6d5

2 files changed

Lines changed: 39 additions & 14 deletions

File tree

.bcr/metadata.template.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
{
22
"homepage": "https://github.com/mxpv/rules_vulkan",
33
"maintainers": [
4-
{
5-
"name": "Maksym Pavlenko",
6-
"email": "pavlenko.maksym@gmail.com",
7-
"github": "mxpv",
8-
"github_user_id": "865334"
9-
}
4+
{
5+
"name": "Maksym Pavlenko",
6+
"email": "pavlenko.maksym@gmail.com",
7+
"github": "mxpv",
8+
"github_user_id": "865334"
9+
}
10+
],
11+
"repository": [
12+
"github:mxpv/rules_vulkan"
1013
],
11-
"repository": ["github:mxpv/rules_vulkan"],
1214
"versions": [],
1315
"yanked_versions": {}
1416
}
15-

.bcr/presubmit.yml

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,36 @@
1+
matrix:
2+
platform:
3+
- ubuntu2004
4+
- windows
5+
- macos
6+
bazel:
7+
- 8.x
8+
- 7.x
9+
tasks:
10+
verify_targets:
11+
name: Verify build targets
12+
platform: ${{ platform }}
13+
bazel: ${{ bazel }}
14+
build_targets:
15+
- //vulkan/...
16+
- //hlsl/...
17+
- //glsl/...
18+
- //slang/...
19+
120
bcr_test_module:
2-
module_path: "e2e/smoke"
21+
module_path: e2e/smoke
322
matrix:
4-
platform: ["macos", "ubuntu2004"]
5-
bazel: [8.x]
23+
platform:
24+
- ubuntu2004
25+
- macos
26+
- windows
27+
bazel:
28+
- 8.x
629
tasks:
7-
run_tests:
8-
name: "Run e2e module"
30+
run_test_module:
31+
name: Run test module
932
platform: ${{ platform }}
1033
bazel: ${{ bazel }}
1134
build_targets:
12-
- "//..."
35+
- :app
36+

0 commit comments

Comments
 (0)