17 new ATRs #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup prerequisites | |
shell: bash | |
run: | | |
sudo apt update | |
sudo apt install \ | |
autoconf-archive \ | |
gettext \ | |
libpcsclite-dev | |
- name: compile | |
shell: bash | |
run: | | |
./bootstrap | |
export CFLAGS="-Wall -Wextra -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-enum -Wundef -Wuninitialized -Wunused -Wwrite-strings -Wmissing-noreturn -flto=auto -O2 -Wp,-D_FORTIFY_SOURCE=2" | |
./configure | |
make V=1 | |
- name: distcheck | |
shell: bash | |
run: | | |
make distcheck DESTDIR=/tmp |