CI added GitHub actions

This commit is contained in:
Frank Morgner
2022-01-18 17:47:36 +01:00
parent 24c502f152
commit 111eb86d3d
5 changed files with 231 additions and 0 deletions

27
.github/build-ccid.sh vendored Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
# CI script to build for "ubuntu", "coverity"
set -ex -o xtrace
# todo openpace
pushd ccid
git submodule update --init .
sudo apt-get install gengetopt help2man libpcsclite-dev
autoreconf -vis
./configure
case "$1" in
ubuntu)
make distcheck
;;
coverity)
# exclude opensc from analysis by building it here
make -C src/OpenSC
esac
popd