1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00

Exercise Bazel build in CI (#206)

This commit is contained in:
Daniil Goncharov 2022-08-14 16:43:31 +04:00 committed by GitHub
parent 0fec11eda3
commit 8f9f4afee7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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