aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/c-cpp.yml
blob: fab7f212072b1446d289845d7d0835d8c3e89f85 (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
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: update modules
      run: git submodule foreach git submodule update
    - name: run cmake
      run: cmake .
    - name: make
      run: make