summaryrefslogtreecommitdiffstats
path: root/.github/workflows/c-cpp.yml
blob: 6c8b63c80a1641d74500bdd9b5763434237adb89 (plain)
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@v3
    - name: Install gettext
      run: sudo apt-get install gettext
    - name: setup
      run: ./tools/setup
    - name: CFLAGS="-Wall -Wextra -std=c90" configure
      run: ./configure
    - name: make
      run: make