Skip to content

Commit c4351ee

Browse files
goncaloalmeidaGonçalo Almeida
andauthored
Added github workflow to build the project in Ubuntu and Windows (#46)
* added .gitignore * Added github workflow to build the project in Ubuntu and Windows (#1) --------- Co-authored-by: Gonçalo Almeida <[email protected]>
1 parent e3818cb commit c4351ee

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/c-cpp.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, windows-latest]
15+
configs: [Release]
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
- name: Build project
21+
uses: nicledomaS/[email protected]
22+
with:
23+
config: ${{ matrix.configs }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!.git/workflows/*

0 commit comments

Comments
 (0)