From 8f9f4afee78aa291b769be61e9ea622939bb983c Mon Sep 17 00:00:00 2001 From: Daniil Goncharov Date: Sun, 14 Aug 2022 16:43:31 +0400 Subject: [PATCH] Exercise Bazel build in CI (#206) --- .github/workflows/ubuntu.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index c2b67e4..0518bda 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -49,6 +49,13 @@ jobs: sudo apt install ${{matrix.compiler.cxx}} -y fi + - name: Configure bazel + run: | + wget -O - https://bazel.build/bazel-release.pub.gpg|sudo apt-key add - + sudo apt-add-repository "deb https://storage.googleapis.com/bazel-apt stable jdk1.8" + sudo apt update + sudo apt install bazel -y + - name: Build Release run: | rm -rf build @@ -66,3 +73,5 @@ jobs: cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}} cmake --build . --config Debug ctest --output-on-failure -C Debug + cd .. + bazel test //... --curses no