Skip to content

Commit 44a53fa

Browse files
liucijusWixBuildServer
authored andcommitted
Wix Build setup
1 parent f4163ee commit 44a53fa

File tree

4 files changed

+62
-0
lines changed

4 files changed

+62
-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

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6.0.0
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
@@ -644,3 +644,29 @@ jvm_maven_import_external(
644644
licenses = ["notice"], # Apache 2.0
645645
server_urls = ["https://repo1.maven.org/maven2"],
646646
)
647+
648+
bazel_version = "31082327bdb64b7bf52dd55ae18d29e920e61025"
649+
650+
bazel_repo_sha256 = "e8e1ac4bcab303f8f99c9b14ad3afbd059b84c516b7e76f6d9b89b8d5175594f"
651+
652+
http_archive(
653+
name = "bazel",
654+
sha256 = bazel_repo_sha256,
655+
strip_prefix = "bazel-" + bazel_version,
656+
url = "https://github.com/bazelbuild/bazel/archive/%s.zip" % bazel_version,
657+
)
658+
659+
http_archive(
660+
name = "io_buildbuddy_buildbuddy_toolchain",
661+
sha256 = "9055a3e6f45773cd61931eba7b7cf35d6477ab6ad8fb2f18bf9815271fc682fe",
662+
strip_prefix = "buildbuddy-toolchain-52aa5d2cc6c9ba7ee4063de35987be7d1b75f8e2",
663+
urls = ["https://github.com/buildbuddy-io/buildbuddy-toolchain/archive/52aa5d2cc6c9ba7ee4063de35987be7d1b75f8e2.tar.gz"],
664+
)
665+
666+
load("@io_buildbuddy_buildbuddy_toolchain//:deps.bzl", "buildbuddy_deps")
667+
668+
buildbuddy_deps()
669+
670+
load("@io_buildbuddy_buildbuddy_toolchain//:rules.bzl", "buildbuddy")
671+
672+
buildbuddy(name = "buildbuddy_toolchain")

0 commit comments

Comments
 (0)