Skip to content

Commit

Permalink
Update CIs (#45)
Browse files Browse the repository at this point in the history
* remove g++-7, g++-8, and clang++-8 from Ubuntu CI.
(see actions/runner-images#2950)

* update coverage CI.
  • Loading branch information
hriener committed Apr 7, 2021
1 parent ebce37a commit e9e1ff5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 62 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:
- master

jobs:
build-gcc7-coveralls:
build-gcc9-codecov:
runs-on: ubuntu-latest
name: GNU GCC 7 and run coveralls
name: GNU GCC 9 and run codecov

steps:
- uses: actions/checkout@v1
Expand All @@ -21,7 +21,7 @@ jobs:
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++-7 -DBILL_TEST=ON -DENABLE_COVERAGE=ON ..
cmake -DCMAKE_CXX_COMPILER=g++-9 -DBILL_TEST=ON -DENABLE_COVERAGE=ON ..
make run_tests
- name: Run tests
run: |
Expand All @@ -34,8 +34,6 @@ jobs:
lcov -e lcov.info "*bill/include*" -o lcov_filtered.info
lcov -r lcov_filtered.info "*bill/include/bill/sat/solver*" -o lcov_filtered2.info
lcov -l lcov_filtered2.info
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov_filtered2.info
- name: CodeCov
run: |
bash <(curl -s https://codecov.io/bash) -f lcov_filtered2.info || echo "Codecov did not collect coverage reports"
54 changes: 0 additions & 54 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,42 +9,6 @@ on:
- master

jobs:
build-gcc7:
runs-on: ubuntu-latest
name: GNU GCC 7

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Build bill
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++-7 -DBILL_TEST=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests
build-gcc8:
runs-on: ubuntu-latest
name: GNU GCC 8

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Build bill
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=g++-8 -DBILL_TEST=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests
build-gcc9:
runs-on: ubuntu-latest
name: GNU GCC 9
Expand All @@ -63,24 +27,6 @@ jobs:
run: |
cd build
./test/run_tests
build-clang8:
runs-on: ubuntu-latest
name: Clang 8

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: Build bill
run: |
mkdir build
cd build
cmake -DCMAKE_CXX_COMPILER=clang++-8 -DBILL_TEST=ON ..
make run_tests
- name: Run tests
run: |
cd build
./test/run_tests
build-clang9:
runs-on: ubuntu-latest
name: Clang 9
Expand Down

0 comments on commit e9e1ff5

Please sign in to comment.