Skip to content

move to 1es

move to 1es #36

Workflow file for this run

name: CI Linux/GCC
on:
push:
pull_request:
defaults:
run:
shell: bash
jobs:
coverage:
runs-on:
- self-hosted
- 1ES.Pool=MC-Runner-1ES-Linux
steps:
- name: Install LCOV
run: sudo apt install -y lcov
- uses: actions/checkout@v2
- name: Build project
run: |
cd build
make coverage
- name: Run tests
run: |
cd build
./fakeit_tests.exe
- name: Generate report
run: |
cd build
gcov *.o
lcov --directory . -c -o report.info
lcov --remove report.info '/usr/*' '*/tests/*' -o report_filtered.info
- name: Upload report
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./build/report_filtered.info
gcc-ubuntu-20-04:
runs-on:
- self-hosted
- 1ES.Pool=MC-Runner-1ES-Linux
steps:
- uses: actions/checkout@v2
- name: Build project
run: |
cd build
make all
- name: Run tests
run: |
cd build
./fakeit_tests.exe
gcc-ubuntu-18-04:
runs-on:
- self-hosted
- 1ES.Pool=MC-Runner-1ES-Linux
steps:
- uses: actions/checkout@v2
- name: Build project
run: |
cd build
make all
- name: Run tests
run: |
cd build
./fakeit_tests.exe