forked from authselect/authselect
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 822 Bytes
/
build.yml
File metadata and controls
31 lines (31 loc) · 822 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
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@v2
- 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