Thanks to visit codestin.com
Credit goes to github.com

Skip to content

akadjoker/gtest_bazel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gtest_bazel

Repositório de exemplo com Bazel + GoogleTest e GitHub Actions.

Requisitos

  • Bazel 7.x (ou Bazelisk)
  • Compilador C++17

Como correr localmente

bazel sync
bazel build //...
bazel test //...

Estrutura

.
├── MODULE.bazel
├── .bazelrc
├── src/
│   ├── BUILD
│   ├── funcoes.hpp
│   └── funcoes.cpp
├── tests/
│   ├── BUILD
│   └── funcoes_test.cpp
└── .github/workflows/ci.yml

CI

O pipeline usa bazel-contrib/setup-bazel para instalar Bazel e com cache ativado.

About

Google Unit test with bazel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published