File tree 1 file changed +20
-0
lines changed 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 65
65
- run : echo "USE_BAZEL_VERSION=$(cat .bazelversion)" >> $env:GITHUB_ENV
66
66
if : ${{ startsWith(matrix.cases.os, 'windows') }}
67
67
68
+ # out of @examples repo build requires WORKSPACE-based external dependency system
69
+ - run : bazelisk build --jobs=1 @rules_cuda_examples//basic:all
70
+ - run : bazelisk build --jobs=1 @rules_cuda_examples//rdc:all
71
+ - run : bazelisk build --jobs=1 @rules_cuda_examples//if_cuda:main
72
+ - run : bazelisk build --jobs=1 @rules_cuda_examples//if_cuda:main --enable_cuda=False
73
+ # in @examples repo build, bzlmod is enabled by default since Bazel 7
74
+ - run : cd examples && bazelisk build --jobs=1 //basic:all
75
+ - run : cd examples && bazelisk build --jobs=1 //rdc:all
76
+ - run : cd examples && bazelisk build --jobs=1 //if_cuda:main
77
+ - run : cd examples && bazelisk build --jobs=1 //if_cuda:main --enable_cuda=False
78
+ - run : bazelisk shutdown
79
+ # run some repo integration tests
80
+ - run : cd tests/integration && ./test_all.sh
81
+
82
+ # Use Bazel 7
83
+ - run : echo "USE_BAZEL_VERSION=7.5.0" >> $GITHUB_ENV
84
+ if : ${{ !startsWith(matrix.cases.os, 'windows') }}
85
+ - run : echo "USE_BAZEL_VERSION=7.5.0" >> $env:GITHUB_ENV
86
+ if : ${{ startsWith(matrix.cases.os, 'windows') }}
87
+
68
88
# out of @examples repo build requires WORKSPACE-based external dependency system
69
89
- run : bazelisk build --jobs=1 --noenable_bzlmod @rules_cuda_examples//basic:all
70
90
- run : bazelisk build --jobs=1 --noenable_bzlmod @rules_cuda_examples//rdc:all
You can’t perform that action at this time.
0 commit comments