@@ -22,12 +22,14 @@ jobs:
2222
2323 steps :
2424 - uses : actions/checkout@v4
25+ - uses : bazel-contrib/setup-bazel@0.8.5
26+ with :
27+ bazelisk-cache : true
28+ disk-cache : ${{ github.workflow }}
29+ repository-cache : true
30+ bazelisk-version : 1.x
2531 - name : Checkout submodules
2632 run : git submodule update --init --recursive
27- - name : Install Bazel on CI
28- run : |
29- wget https://github.com/bazelbuild/bazel/releases/download/5.3.0/bazel_5.3.0-linux-x86_64.deb
30- sudo dpkg -i bazel_5.3.0-linux-x86_64.deb
3133 - name : Install requirements
3234 run : |
3335 python3 -m pip install -r requirements.txt
@@ -51,16 +53,18 @@ jobs:
5153
5254 steps :
5355 - uses : actions/checkout@v4
56+ - uses : bazel-contrib/setup-bazel@0.8.5
57+ with :
58+ bazelisk-cache : true
59+ disk-cache : ${{ github.workflow }}
60+ repository-cache : true
61+ bazelisk-version : 1.x
5462 - name : Checkout submodules
5563 run : git submodule update --init --recursive
56- - name : Install Bazel on CI
57- run : |
58- wget https://github.com/bazelbuild/bazel/releases/download/5.3.0/bazel_5.3.0-linux-x86_64.deb
59- sudo dpkg -i bazel_5.3.0-linux-x86_64.deb
6064 - name : Install requirements
6165 run : |
6266 python3 -m pip install -r requirements.txt
63- - name : Upgrade libc
67+ - name : Upgrade libc
6468 # An LLVM update broke this test, fix per is https://bugs.llvm.org/show_bug.cgi?id=27310.
6569 run : |
6670 sudo apt update
@@ -69,19 +73,21 @@ jobs:
6973 run : |
7074 bazel test --config=avx --config=openmp \
7175 --config=${{ matrix.sanitizer_opt }} tests:all
72-
76+
7377 test-mem :
7478 name : Test with tcmalloc
7579 runs-on : ubuntu-20.04
7680
7781 steps :
7882 - uses : actions/checkout@v4
83+ - uses : bazel-contrib/setup-bazel@0.8.5
84+ with :
85+ bazelisk-cache : true
86+ disk-cache : ${{ github.workflow }}
87+ repository-cache : true
88+ bazelisk-version : 1.x
7989 - name : Checkout submodules
8090 run : git submodule update --init --recursive
81- - name : Install Bazel on CI
82- run : |
83- wget https://github.com/bazelbuild/bazel/releases/download/5.3.0/bazel_5.3.0-linux-x86_64.deb
84- sudo dpkg -i bazel_5.3.0-linux-x86_64.deb
8591 - name : Install requirements
8692 run : |
8793 python3 -m pip install -r requirements.txt
0 commit comments