forked from ericstoneking/42
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 772 Bytes
/
c-cpp.yml
File metadata and controls
35 lines (31 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: C/C++ CI
# run only on pushes or pull requests to master
# this way you can develop on and push to separate branches without
# using up runner minutes
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-ubuntu:
# default Ubuntu build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: make
run: make
build-ubuntu-glut:
# Ubuntu build with GLUT graphics
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: make
run: make GLUT_OR_GLFW=_USE_GLUT_
build-ubuntu-no-graphics:
# Ubuntu build with all graphics disabled
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: make
run: make GUIFLAG=