Skip to content

Commit bd43a7c

Browse files
committed
Wix Build setup
1 parent 25b8f19 commit bd43a7c

File tree

4 files changed

+63
-0
lines changed

4 files changed

+63
-0
lines changed

.bazelrc.remote

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
build --bes_results_url=https://app.buildbuddy.io/invocation/
2+
build --bes_backend=grpcs://cloud.buildbuddy.io
3+
# build --remote_cache=grpcs://cloud.buildbuddy.io
4+
5+
# build --remote_download_minimal
6+
# build --remote_retries=0
7+
# build --remote_timeout=10

.bazelversion

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
5.2.0
2+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Run all tests
2+
on: [push]
3+
jobs:
4+
build:
5+
name: test with ${{ matrix.ij_product }}
6+
runs-on: ubuntu-20.04
7+
continue-on-error: ${{ matrix.experimental }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
ij_product: ['intellij-2022.1', 'intellij-2022.2', 'intellij-2022.3']
12+
experimental: [false]
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: bazel cache
16+
uses: actions/cache@v2
17+
with:
18+
path: ~/.bazel-repository-cache
19+
key: ${{ github.ref }}
20+
restore-keys: refs/heads/master
21+
- name: run bazel
22+
continue-on-error: ${{ matrix.experimental }}
23+
run: >
24+
bazel --bazelrc=.bazelrc.remote test //:ijwb_ce_tests
25+
--repository_cache=~/.bazel-repository-cache
26+
--define=ij_product=${{ matrix.ij_product }}
27+
--keep_going
28+
--test_output=errors

WORKSPACE

+26
Original file line numberDiff line numberDiff line change
@@ -595,3 +595,29 @@ jvm_maven_import_external(
595595
licenses = ["notice"], # Apache 2.0
596596
server_urls = ["https://repo1.maven.org/maven2"],
597597
)
598+
599+
bazel_version = "31082327bdb64b7bf52dd55ae18d29e920e61025"
600+
601+
bazel_repo_sha256 = "e8e1ac4bcab303f8f99c9b14ad3afbd059b84c516b7e76f6d9b89b8d5175594f"
602+
603+
http_archive(
604+
name = "bazel",
605+
sha256 = bazel_repo_sha256,
606+
strip_prefix = "bazel-" + bazel_version,
607+
url = "https://github.com/bazelbuild/bazel/archive/%s.zip" % bazel_version,
608+
)
609+
610+
http_archive(
611+
name = "io_buildbuddy_buildbuddy_toolchain",
612+
sha256 = "9055a3e6f45773cd61931eba7b7cf35d6477ab6ad8fb2f18bf9815271fc682fe",
613+
strip_prefix = "buildbuddy-toolchain-52aa5d2cc6c9ba7ee4063de35987be7d1b75f8e2",
614+
urls = ["https://github.com/buildbuddy-io/buildbuddy-toolchain/archive/52aa5d2cc6c9ba7ee4063de35987be7d1b75f8e2.tar.gz"],
615+
)
616+
617+
load("@io_buildbuddy_buildbuddy_toolchain//:deps.bzl", "buildbuddy_deps")
618+
619+
buildbuddy_deps()
620+
621+
load("@io_buildbuddy_buildbuddy_toolchain//:rules.bzl", "buildbuddy")
622+
623+
buildbuddy(name = "buildbuddy_toolchain")

0 commit comments

Comments
 (0)