CI added GitHub actions
This commit is contained in:
27
.github/build-ccid.sh
vendored
Executable file
27
.github/build-ccid.sh
vendored
Executable 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
|
||||
Reference in New Issue
Block a user