File: build.yml

package info (click to toggle)
authselect 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,384 kB
  • sloc: ansic: 7,757; sh: 477; makefile: 352; python: 164; xml: 24
file content (31 lines) | stat: -rw-r--r-- 822 bytes parent folder | download
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
name: Build
on: [push, pull_request]
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true
jobs:
  make-check:
    runs-on: ubuntu-latest
    container: fedora:latest
    permissions:
      contents: read
    env:
      CFLAGS: -Wall -Wextra -Werror -Wno-sign-compare -Wno-unused-parameter -ggdb3
    steps:
    - uses: actions/checkout@v4
    - name: Install dependencies
      run: |
        scripts/auto install-build-deps
    - run: autoreconf -if && ./configure --enable-silent-rules
    - run: make
    - run: make check
    - run: make distcheck
    - name: Check translations
      run: |
        if [ -s "translations.log" ]; then
          cat translations.log
          exit 1
        else
          echo "All translations compiled successfully."
          exit 0
        fi