summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRin Kuryloski <kuryloskip@vmware.com>2022-09-28 10:23:35 +0200
committerRin Kuryloski <kuryloskip@vmware.com>2022-09-29 11:54:06 +0200
commitad043228f2ce04fc510fbd721be98c69e6694002 (patch)
tree230ef9256174523d496e8fd03c363d3d2622fb88 /.github
parent76b79fba09690068cc381fc97d0fa3676ca6c8ca (diff)
downloadrabbitmq-server-git-ad043228f2ce04fc510fbd721be98c69e6694002.tar.gz
Fixup config drift causing the Windows Actions to fail
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test-windows.yaml12
1 files changed, 5 insertions, 7 deletions
diff --git a/.github/workflows/test-windows.yaml b/.github/workflows/test-windows.yaml
index f3a5e8e9d8..328cc929d7 100644
--- a/.github/workflows/test-windows.yaml
+++ b/.github/workflows/test-windows.yaml
@@ -3,6 +3,9 @@ on:
schedule:
- cron: '0 2 * * *'
workflow_dispatch:
+ push:
+ paths:
+ - .github/workflows/test-windows.yaml
jobs:
test:
name: Test Windows
@@ -28,11 +31,9 @@ jobs:
#! path: "/home/runner/repo-cache/"
#! key: repo-cache
- name: CONFIGURE BAZEL
+ id: configure
shell: bash
run: |
- ERL_PATH="$(which erl)"
- IEX_PATH="$(which iex)"
- sed -i"_orig" 's/build --experimental_enable_bzlmod//' .bazelrc
cat << EOF >> user.bazelrc
startup --output_user_root=C:/tmp
startup --windows_enable_symlinks
@@ -48,10 +49,6 @@ jobs:
build:buildbuddy --disk_cache=
build:buildbuddy --noexperimental_remote_cache_compression
build:buildbuddy --noexperimental_remote_cache_async
-
- build --@rules_erlang//:erlang_version=${{ matrix.erlang_version }}
- build --@rules_erlang//:erlang_home="${ERL_PATH/\/bin\/erl/}"
- build --//:elixir_home="${IEX_PATH/\/bin\/iex/}"
EOF
bazelisk info release
@@ -60,6 +57,7 @@ jobs:
run: |
bazelisk test //... ^
--config=buildbuddy ^
+ --noexperimental_enable_bzlmod ^
--test_tag_filters=-aws,-docker,-bats,-starts-background-broker ^
--build_tests_only ^
--verbose_failures