Skip to content

Fix github Windows build #52

Fix github Windows build

Fix github Windows build #52

Workflow file for this run

name: Ubuntu
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