2222        Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1 
2323    displayName: "Enable da long paths" 
2424
25+ bash : | 
26+       cat >.bazelrc.local <<EOF 
27+       common --config=ci 
28+       build --config=windows-bindist --config=ci-windows-bindist 
29+       EOF 
30+     displayName: "Configure Bazel" 
31+ 
2532bash : | 
2633      set -e 
2734      export MSYS2_ARG_CONV_EXCL="*" 
@@ -32,49 +39,49 @@ jobs:
3239      echo "PATH='$PATH'" 
3340
3441      # Tests that build but don't run 
35-       /c/bazel/bazel.exe build --config windows  "//tests/c-compiles-still/..." 
36-       /c/bazel/bazel.exe build --config windows  "//tests/binary-with-data/..." 
37-       /c/bazel/bazel.exe build --config windows  "//tests/binary-indirect-cbits" 
42+       /c/bazel/bazel.exe build "//tests/c-compiles-still/..." 
43+       /c/bazel/bazel.exe build "//tests/binary-with-data/..." 
44+       /c/bazel/bazel.exe build "//tests/binary-indirect-cbits" 
3845
3946      # Tests that only require building 
4047      # (when using 'test' CI fails with: 
4148      #     ERROR: No test targets were found, yet testing was requested 
4249      # ) 
4350      # See https://github.com/bazelbuild/bazel/issues/7291 
44-       /c/bazel/bazel.exe build --config windows  "//tests/data/..." 
45-       /c/bazel/bazel.exe build --config windows  "//tests/failures/..." 
46-       /c/bazel/bazel.exe build --config windows  "//tests/hidden-modules/..." 
47-       /c/bazel/bazel.exe build --config windows  "//tests/package-id-clash/..." 
51+       /c/bazel/bazel.exe build "//tests/data/..." 
52+       /c/bazel/bazel.exe build "//tests/failures/..." 
53+       /c/bazel/bazel.exe build "//tests/hidden-modules/..." 
54+       /c/bazel/bazel.exe build "//tests/package-id-clash/..." 
4855
4956      # Tests that succeed 
50-       /c/bazel/bazel.exe test --config windows  "//tests:test-binary-simple" 
51-       /c/bazel/bazel.exe test --config windows  "//tests:test-binary-custom-main" 
52-       /c/bazel/bazel.exe test --config windows  "//tests/binary-custom-main/..." 
53-       /c/bazel/bazel.exe test --config windows  "//tests/binary-exe-path/..." 
54-       /c/bazel/bazel.exe test --config windows  "//tests/binary-with-data/..." 
55-       /c/bazel/bazel.exe test --config windows  "//tests/binary-with-lib/..." 
56-       /c/bazel/bazel.exe test --config windows  "//tests/binary-with-main/..." 
57-       /c/bazel/bazel.exe test --config windows  "//tests/binary-simple/..." 
58-       /c/bazel/bazel.exe test --config windows  "//tests/binary-with-compiler-flags/..." 
59-       /c/bazel/bazel.exe test --config windows  "//tests/binary-with-import/..." 
60-       /c/bazel/bazel.exe test --config windows  "//tests/binary-with-link-flags/..." 
61-       /c/bazel/bazel.exe test --config windows  "//tests/cpp_macro_conflict/..." 
62-       /c/bazel/bazel.exe test --config windows  "//tests/extra-source-files/..." 
63-       /c/bazel/bazel.exe test --config windows  "//tests/java_classpath/..." 
64-       /c/bazel/bazel.exe test --config windows  "//tests/generated-modules/..." 
65-       /c/bazel/bazel.exe test --config windows  "//tests/haskell_test/..." 
66-       /c/bazel/bazel.exe test --config windows  "//tests/hs-boot/..." 
67-       /c/bazel/bazel.exe test --config windows  "//tests/indirect-link/..." 
68-       /c/bazel/bazel.exe test --config windows  "//tests/library-deps/..." 
69-       /c/bazel/bazel.exe test --config windows  "//tests/library-exports/..." 
70-       /c/bazel/bazel.exe test --config windows  "//tests/library-linkstatic-flag/..." 
71-       /c/bazel/bazel.exe test --config windows  "//tests/lhs/..." 
72-       /c/bazel/bazel.exe test --config windows  "//tests/package-id-clash-binary/..." 
73-       /c/bazel/bazel.exe test --config windows  "//tests/package-name/..." 
74-       /c/bazel/bazel.exe test --config windows  "//tests/textual-hdrs/..." 
75-       /c/bazel/bazel.exe test --config windows  "//tests/two-libs/..." 
76-       /c/bazel/bazel.exe test --config windows  "//tests/encoding/..." 
77-       /c/bazel/bazel.exe test --config windows  "//tests/c-compiles/..." 
78-       /c/bazel/bazel.exe test --config windows  "//tests/stack-snapshot-deps/..." 
57+       /c/bazel/bazel.exe test "//tests:test-binary-simple" 
58+       /c/bazel/bazel.exe test "//tests:test-binary-custom-main" 
59+       /c/bazel/bazel.exe test "//tests/binary-custom-main/..." 
60+       /c/bazel/bazel.exe test "//tests/binary-exe-path/..." 
61+       /c/bazel/bazel.exe test "//tests/binary-with-data/..." 
62+       /c/bazel/bazel.exe test "//tests/binary-with-lib/..." 
63+       /c/bazel/bazel.exe test "//tests/binary-with-main/..." 
64+       /c/bazel/bazel.exe test "//tests/binary-simple/..." 
65+       /c/bazel/bazel.exe test "//tests/binary-with-compiler-flags/..." 
66+       /c/bazel/bazel.exe test "//tests/binary-with-import/..." 
67+       /c/bazel/bazel.exe test "//tests/binary-with-link-flags/..." 
68+       /c/bazel/bazel.exe test "//tests/cpp_macro_conflict/..." 
69+       /c/bazel/bazel.exe test "//tests/extra-source-files/..." 
70+       /c/bazel/bazel.exe test "//tests/java_classpath/..." 
71+       /c/bazel/bazel.exe test "//tests/generated-modules/..." 
72+       /c/bazel/bazel.exe test "//tests/haskell_test/..." 
73+       /c/bazel/bazel.exe test "//tests/hs-boot/..." 
74+       /c/bazel/bazel.exe test "//tests/indirect-link/..." 
75+       /c/bazel/bazel.exe test "//tests/library-deps/..." 
76+       /c/bazel/bazel.exe test "//tests/library-exports/..." 
77+       /c/bazel/bazel.exe test "//tests/library-linkstatic-flag/..." 
78+       /c/bazel/bazel.exe test "//tests/lhs/..." 
79+       /c/bazel/bazel.exe test "//tests/package-id-clash-binary/..." 
80+       /c/bazel/bazel.exe test "//tests/package-name/..." 
81+       /c/bazel/bazel.exe test "//tests/textual-hdrs/..." 
82+       /c/bazel/bazel.exe test "//tests/two-libs/..." 
83+       /c/bazel/bazel.exe test "//tests/encoding/..." 
84+       /c/bazel/bazel.exe test "//tests/c-compiles/..." 
85+       /c/bazel/bazel.exe test "//tests/stack-snapshot-deps/..." 
7986
8087    displayName: 'Run Bazel' 
0 commit comments