@@ -22,12 +22,12 @@ jobs:
2222
2323 steps :
2424 - uses : actions/checkout@v2
25+ - uses : bazel-contrib/setup-bazel@0.8.5
26+ bazelisk-cache : true
27+ disk-cache : ${{ github.workflow }}
28+ repository-cache : true
2529 - name : Checkout submodules
2630 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
3131 - name : Install requirements
3232 run : |
3333 python3 -m pip install -r requirements.txt
@@ -51,16 +51,16 @@ jobs:
5151
5252 steps :
5353 - uses : actions/checkout@v2
54+ - uses : bazel-contrib/setup-bazel@0.8.5
55+ bazelisk-cache : true
56+ disk-cache : ${{ github.workflow }}
57+ repository-cache : true
5458 - name : Checkout submodules
5559 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
6060 - name : Install requirements
6161 run : |
6262 python3 -m pip install -r requirements.txt
63- - name : Upgrade libc
63+ - name : Upgrade libc
6464 # An LLVM update broke this test, fix per is https://bugs.llvm.org/show_bug.cgi?id=27310.
6565 run : |
6666 sudo apt update
@@ -69,19 +69,19 @@ jobs:
6969 run : |
7070 bazel test --config=avx --config=openmp \
7171 --config=${{ matrix.sanitizer_opt }} tests:all
72-
72+
7373 test-mem :
7474 name : Test with tcmalloc
7575 runs-on : ubuntu-20.04
7676
7777 steps :
7878 - uses : actions/checkout@v2
79+ - uses : bazel-contrib/setup-bazel@0.8.5
80+ bazelisk-cache : true
81+ disk-cache : ${{ github.workflow }}
82+ repository-cache : true
7983 - name : Checkout submodules
8084 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
8585 - name : Install requirements
8686 run : |
8787 python3 -m pip install -r requirements.txt
0 commit comments