srctree

Robin Linden parent 285c87b8 3fdc2817
ci: Run the code coverage job using gcc 12

inlinesplit
.github/workflows/ci.yaml added: 8, removed: 7, total 1
@@ -98,7 +98,7 @@ jobs:
echo "<html><body><h1>Example</h1><p>This is an example page.</p></body></html>" >example.html
bazel run browser:tui file://$(pwd)/example.html ${{ matrix.bazel }}
 
linux-gcc-11-coverage:
linux-gcc-12-coverage:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
@@ -112,11 +112,12 @@ jobs:
- name: Install
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends libgl-dev lcov gcc-11 g++-11
sudo apt-get install --no-install-recommends libgl-dev lcov gcc-12 g++-12
- name: Setup
run: |
echo "CC=gcc-11" >> $GITHUB_ENV
echo "CXX=g++-11" >> $GITHUB_ENV
echo "CC=gcc-12" >> $GITHUB_ENV
echo "CXX=g++-12" >> $GITHUB_ENV
echo "GCOV=gcov-12" >> $GITHUB_ENV
- name: Coverage
run: bazel coverage ...
- name: Summary
 
README.md added: 8, removed: 7, total 1
@@ -8,7 +8,7 @@
 
#### Compiler
 
Right now GCC 11, Clang 14, and MSVC are tested against. The project makes use
Right now GCC 12, Clang 14, and MSVC are tested against. The project makes use
of C++23 features, so a reasonably recent compiler is required.
 
#### Build system