Skip to content

Commit

Permalink
Wix Build setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaidas Pilkauskas authored and WixBuildServer committed Feb 4, 2023
1 parent 010e44b commit 60b5109
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .bazelrc.remote
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
build --bes_results_url=https://app.buildbuddy.io/invocation/
build --bes_backend=grpcs://cloud.buildbuddy.io
# build --remote_cache=grpcs://cloud.buildbuddy.io

# build --remote_download_minimal
# build --remote_retries=0
# build --remote_timeout=10
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.0.0
28 changes: 28 additions & 0 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run all tests
on: [push]
jobs:
build:
name: test with ${{ matrix.ij_product }}
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
ij_product: ['intellij-2022.1', 'intellij-2022.2', 'intellij-2022.3']
experimental: [false]
steps:
- uses: actions/checkout@v2
- name: bazel cache
uses: actions/cache@v2
with:
path: ~/.bazel-repository-cache
key: ${{ github.ref }}
restore-keys: refs/heads/master
- name: run bazel
continue-on-error: ${{ matrix.experimental }}
run: >
bazel --bazelrc=.bazelrc.remote test //:ijwb_ce_tests
--repository_cache=~/.bazel-repository-cache
--define=ij_product=${{ matrix.ij_product }}
--keep_going
--test_output=errors
26 changes: 26 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -641,3 +641,29 @@ jvm_maven_import_external(
licenses = ["notice"], # Apache 2.0
server_urls = ["https://repo1.maven.org/maven2"],
)

bazel_version = "31082327bdb64b7bf52dd55ae18d29e920e61025"

bazel_repo_sha256 = "e8e1ac4bcab303f8f99c9b14ad3afbd059b84c516b7e76f6d9b89b8d5175594f"

http_archive(
name = "bazel",
sha256 = bazel_repo_sha256,
strip_prefix = "bazel-" + bazel_version,
url = "https://github.com/bazelbuild/bazel/archive/%s.zip" % bazel_version,
)

http_archive(
name = "io_buildbuddy_buildbuddy_toolchain",
sha256 = "9055a3e6f45773cd61931eba7b7cf35d6477ab6ad8fb2f18bf9815271fc682fe",
strip_prefix = "buildbuddy-toolchain-52aa5d2cc6c9ba7ee4063de35987be7d1b75f8e2",
urls = ["https://github.com/buildbuddy-io/buildbuddy-toolchain/archive/52aa5d2cc6c9ba7ee4063de35987be7d1b75f8e2.tar.gz"],
)

load("@io_buildbuddy_buildbuddy_toolchain//:deps.bzl", "buildbuddy_deps")

buildbuddy_deps()

load("@io_buildbuddy_buildbuddy_toolchain//:rules.bzl", "buildbuddy")

buildbuddy(name = "buildbuddy_toolchain")

0 comments on commit 60b5109

Please sign in to comment.