Skip to content

Commit 9c58ec7

Browse files
committed
remove windows bazle build
1 parent da56b73 commit 9c58ec7

File tree

2 files changed

+4
-30
lines changed

2 files changed

+4
-30
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -473,20 +473,6 @@ jobs:
473473
working-directory: ${{ github.workspace }}/build
474474
run: ctest -j 2 --interactive-debug-mode 0 --output-on-failure -C ${{ matrix.build-type }} --timeout 400
475475
timeout-minutes: 20
476-
- uses: bazelbuild/setup-bazelisk@v3
477-
- name: Mount bazel cache # Optional
478-
uses: actions/cache@v4
479-
with:
480-
path: "~/.cache/bazel"
481-
key: bazel
482-
- name: Bazel build
483-
run: bazel build -c opt //:snmalloc
484-
shell: bash
485-
- name: Bazel build with rust
486-
run: bazel build -c opt //:snmalloc-rs
487-
shell: bash
488-
489-
490476

491477
# Job to run clang-format and report errors
492478
format:

BUILD.bazel

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,34 +27,22 @@ cmake(
2727
lib_source = ":srcs",
2828
out_headers_only = False,
2929
out_shared_libs = select({
30-
"@bazel_tools//src/conditions:windows": [
31-
"libsnmallocshim-checks-memcpy-only.dll",
32-
"libsnmallocshim-checks.dll",
33-
"libsnmallocshim.dll",
34-
],
3530
"@bazel_tools//src/conditions:macos": [
3631
"libsnmallocshim-checks-memcpy-only.dylib",
3732
"libsnmallocshim-checks.dylib",
3833
"libsnmallocshim.dylib",
3934
],
4035
"//conditions:default": [],
4136
}),
42-
out_static_libs = select({
43-
"@bazel_tools//src/conditions:windows": [
44-
"libsnmallocshim-static.lib",
45-
"libsnmalloc-new-override.lib",
46-
],
47-
"//conditions:default": [
48-
"libsnmallocshim-static.a",
49-
"libsnmalloc-new-override.a",
50-
],
51-
}),
37+
out_static_libs = [
38+
"libsnmallocshim-static.a",
39+
"libsnmalloc-new-override.a",
40+
],
5241
postfix_script = "ninja",
5342
visibility = ["//visibility:public"],
5443
)
5544

5645
cmake(
57-
exe,
5846
name = "snmalloc-rs",
5947
build_args = [
6048
"-j12",

0 commit comments

Comments
 (0)