mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
add bzlmod support (#254)
This commit is contained in:
parent
fc88b4936a
commit
48054f64ab
18 changed files with 134 additions and 63 deletions
3
.github/workflows/macos.yml
vendored
3
.github/workflows/macos.yml
vendored
|
|
@ -35,3 +35,6 @@ jobs:
|
|||
cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
cmake --build . --config Debug
|
||||
ctest --output-on-failure -C Debug
|
||||
|
||||
- name: Bazel Test
|
||||
run: bazelisk test //... --config=ci
|
||||
|
|
|
|||
12
.github/workflows/ubuntu.yml
vendored
12
.github/workflows/ubuntu.yml
vendored
|
|
@ -52,13 +52,6 @@ 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
|
||||
|
|
@ -76,5 +69,6 @@ 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
|
||||
|
||||
- name: Bazel Test
|
||||
run: bazelisk test //... --config=ci
|
||||
|
|
|
|||
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
|
@ -42,3 +42,5 @@ jobs:
|
|||
cmake --build . --config Debug
|
||||
ctest --output-on-failure -C Debug
|
||||
|
||||
- name: Bazel Test
|
||||
run: bazelisk test //... --config=ci
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue