Skip to content

Commit ed8f8bf

Browse files
authored
Create c-cpp.yml (#13)
* Create c-cpp.yml * add tbb deps * add status badge to readme
1 parent c466f65 commit ed8f8bf

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

.github/workflows/c-cpp.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: C/C++ CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: install deps
17+
run: bash ./install-deps-ubuntu.sh
18+
- name: make
19+
run: make

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ stb_dir := ./MP-APS/3rdParty/stb/
99
pugixml_dir := ./MP-APS/3rdParty/pugixml/include/
1010
nuklear_dir := ./MP-APS/3rdParty/nuklear/include/
1111

12-
libs := -lstdc++fs -lGL -lglfw -lpthread -lassimp
12+
libs := -lstdc++fs -lGL -lglfw -lpthread -lassimp -ltbb
1313

1414
all:
1515
make clean

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ A modern OpenGL 3D rendering engine. The idea behind it is to be very simple to
33

44
![MPAPS](https://github.com/htmlboss/OpenGL-Renderer/blob/master/MP-APS/img/MP-APS.png "MPAPS")
55

6+
[![C/C++ CI](https://github.com/htmlboss/OpenGL-Renderer/actions/workflows/c-cpp.yml/badge.svg)](https://github.com/htmlboss/OpenGL-Renderer/actions/workflows/c-cpp.yml)
67
[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.png?v=103)](https://github.com/ellerbrock/open-source-badges/)
78
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)
89
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/fd7023ebf2e941eeb7d4f67cf9c6ea1f)](https://www.codacy.com/app/htmlboss/OpenGL-Renderer?utm_source=github.com&utm_medium=referral&utm_content=htmlboss/OpenGL-Renderer&utm_campaign=badger)

install-deps-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env bash
22

3-
sudo apt install build-essential mesa-common-dev libglfw3-dev libassimp-dev
3+
sudo apt install build-essential mesa-common-dev libglfw3-dev libassimp-dev libtbb-dev

0 commit comments

Comments
 (0)