Skip to content

Commit

Permalink
Merge pull request #250 from eranpeer/split-ci-workflows
Browse files Browse the repository at this point in the history
Split ci workflows and update README badges.
  • Loading branch information
FranckRJ authored Jul 6, 2021
2 parents 5694b2f + e37c8c7 commit 80a446b
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 8 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci_linux_clang.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI Linux/Clang

on:
push:
pull_request:

defaults:
run:
shell: bash

jobs:
clang-ubuntu-20-04:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build project
run: |
cd build
make -f clang_makefile all
- name: Run tests
run: |
cd build
./fakeit_tests.exe
clang-ubuntu-18-04:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Build project
run: |
cd build
make -f clang_makefile all
- name: Run tests
run: |
cd build
./fakeit_tests.exe
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI Linux/GCC

on:
push:
Expand All @@ -10,7 +10,7 @@ defaults:

jobs:
coverage:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Install LCOV
run: sudo apt install -y lcov
Expand All @@ -34,8 +34,8 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./build/report_filtered.info
gcc:
runs-on: ubuntu-latest
gcc-ubuntu-20-04:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build project
Expand All @@ -46,14 +46,14 @@ jobs:
run: |
cd build
./fakeit_tests.exe
clang:
runs-on: ubuntu-latest
gcc-ubuntu-18-04:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Build project
run: |
cd build
make -f clang_makefile all
make all
- name: Run tests
run: |
cd build
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ FakeIt

[![Join the chat at https://gitter.im/eranpeer/FakeIt](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/eranpeer/FakeIt?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

GCC: [![Build Status GCC](https://travis-ci.org/eranpeer/FakeIt.svg?branch=master)](https://travis-ci.org/eranpeer/FakeIt)
Linux / GCC: [![Build status Linux/GCC](https://github.com/eranpeer/FakeIt/actions/workflows/ci_linux_gcc.yml/badge.svg)](https://github.com/eranpeer/FakeIt/actions/workflows/ci_linux_gcc.yml)
[![Coverage Status](https://coveralls.io/repos/github/eranpeer/FakeIt/badge.svg?branch=master)](https://coveralls.io/github/eranpeer/FakeIt?branch=master)

Linux / Clang: [![Build status Linux/Clang](https://github.com/eranpeer/FakeIt/actions/workflows/ci_linux_clang.yml/badge.svg)](https://github.com/eranpeer/FakeIt/actions/workflows/ci_linux_clang.yml)

MSC: [![Build status MSC](https://ci.appveyor.com/api/projects/status/sy2dk8se2yoxaqve)](https://ci.appveyor.com/project/eranpeer/fakeit)

FakeIt is a simple mocking framework for C++. It supports GCC, Clang and MS Visual C++.
Expand Down

0 comments on commit 80a446b

Please sign in to comment.