From 61f23783e9b33539d49287a3ebd6f0c681a595f0 Mon Sep 17 00:00:00 2001 From: Vaidas Pilkauskas Date: Tue, 10 Mar 2020 10:29:04 +0200 Subject: [PATCH] Wix Build setup --- .bazelrc.remote | 7 +++++ .../continuous-integration-workflow.yml | 28 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .bazelrc.remote create mode 100644 .github/workflows/continuous-integration-workflow.yml diff --git a/.bazelrc.remote b/.bazelrc.remote new file mode 100644 index 00000000000..f45d7a6fd2f --- /dev/null +++ b/.bazelrc.remote @@ -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 diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml new file mode 100644 index 00000000000..00b0d53b3d0 --- /dev/null +++ b/.github/workflows/continuous-integration-workflow.yml @@ -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.3', 'intellij-2023.1', 'intellij-2023.2', 'intellij-2023.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