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:
parent
0fec11eda3
commit
8f9f4afee7
1 changed files with 9 additions and 0 deletions
9
.github/workflows/ubuntu.yml
vendored
9
.github/workflows/ubuntu.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue