Add problem 2414: Smallest Subarrays With Maximum Bitwise OR #1746
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage | |
on: push | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update | |
- run: rustup component add llvm-tools | |
- run: sudo apt-get install --no-install-recommends -y ninja-build | |
- run: vcpkg install gtest | |
- run: >- | |
cargo xtask coverage | |
--cmake-toolchain-file "$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" | |
--llvm-version 18 | |
-o coverage/lcov.info | |
- uses: codecov/codecov-action@v3 | |
with: | |
files: coverage/lcov.info | |
- uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |