File tree 4 files changed +32
-3
lines changed
4 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 1
- build --cxxopt="-std=c++20"
1
+ common --enable_platform_specific_config
2
+ build --verbose_failures
3
+
4
+ build:unix --cxxopt="-std=c++20"
5
+
6
+ build:windows --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl
7
+ build:windows --extra_execution_platforms=//:x64_windows-clang-cl
8
+ build:windows --cxxopt='/std:c++20' --host_cxxopt='/std:c++20'
Original file line number Diff line number Diff line change @@ -22,14 +22,25 @@ concurrency:
22
22
cancel-in-progress : true
23
23
24
24
jobs :
25
+ windows :
26
+ runs-on : windows-2025
27
+ steps :
28
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29
+ - uses : bazel-contrib/setup-bazel@bbf8fe8b219f642c7f8bc673215f28eb1d9dec51 # v0.10.0
30
+ with :
31
+ bazelisk-cache : true
32
+ disk-cache : ${{ github.workflow }}-${{ runner.os }}
33
+ repository-cache : true
34
+ - name : Build & Test
35
+ run : bazel test //...
25
36
macos :
26
37
runs-on : macos-latest
27
38
steps :
28
39
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29
40
- uses : bazel-contrib/setup-bazel@bbf8fe8b219f642c7f8bc673215f28eb1d9dec51 # v0.10.0
30
41
with :
31
42
bazelisk-cache : true
32
- disk-cache : ${{ github.workflow }}
43
+ disk-cache : ${{ github.workflow }}-${{ runner.os }}
33
44
repository-cache : true
34
45
- name : Build & Test
35
46
run : bazel test //...
45
56
- uses : bazel-contrib/setup-bazel@bbf8fe8b219f642c7f8bc673215f28eb1d9dec51 # v0.10.0
46
57
with :
47
58
bazelisk-cache : true
48
- disk-cache : ${{ github.workflow }}
59
+ disk-cache : ${{ github.workflow }}-${{ runner.os }}
49
60
repository-cache : true
50
61
- name : Build & Test
51
62
run : bazel test //...
Original file line number Diff line number Diff line change @@ -29,3 +29,4 @@ benchmarks/competitors/servo-url/target
29
29
30
30
# bazel output
31
31
bazel- *
32
+ .clwb
Original file line number Diff line number Diff line change
1
+ # Platform definition for using clang-cl on Windows
2
+ platform (
3
+ name = "x64_windows-clang-cl" ,
4
+ constraint_values = [
5
+ "@platforms//cpu:x86_64" ,
6
+ "@platforms//os:windows" ,
7
+ "@bazel_tools//tools/cpp:clang-cl" ,
8
+ ],
9
+ )
10
+
1
11
cc_library (
2
12
name = "ada" ,
3
13
srcs = [
You can’t perform that action at this time.
0 commit comments