aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/c-cpp.yml
blob: dff17fd854b6a1ef03ad1687b8c8dff9c250f49f (plain) (blame)
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
name: C/C++ CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
      with: 
        submodules: 'true'
    - name: init submodule modules
      run: git submodule foreach git submodule init
    - name: pull submodule modules
      run: git submodule foreach git submodule update
    - name: run cmake
      run: cmake .
    - name: make
      run: make