Merge pull request #53 from melexis/remove_bits_per_long #68
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: Coveralls | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
# --- Coverage stages --- | |
coverage: | |
name: Get coverage information gcc ${{ matrix.gcc_version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
gcc_version: ['10'] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install gcc-${{ matrix.gcc_version }} and other dependencies | |
run: | | |
sudo apt update | |
sudo apt-get install -y gcc-${{ matrix.gcc_version }} ruby rake gcc-multilib lcov wget | |
pip install gcovr==5.0 | |
wget https://github.com/ThrowTheSwitch/Ceedling/releases/download/1.0.0-60c24c2/ceedling-1.0.0-60c24c2.gem -O ceedling.gem | |
sudo gem install ceedling.gem | |
sudo gem install coveralls-lcov | |
sudo ln -fs /usr/bin/gcov-${{ matrix.gcc_version }} /usr/bin/gcov | |
- name: Install branch v1.15 of lcov | |
run: | | |
git clone --branch=v1.15 https://github.com/linux-test-project/lcov.git | |
cd lcov | |
sudo make install | |
cd - | |
- name: Make coverage | |
run: | | |
make coverage | |
- name: Submit results to Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: build/lcov.info |