Use PKG_CHECK_MODULES to detect gpg-error, libassuan and libgcrypt #64
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-linux | |
on: | |
pull_request: | |
push: | |
jobs: | |
build-linux: | |
name: build-linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: dependencies | |
run: | | |
sudo apt install \ | |
autotools-dev \ | |
autoconf \ | |
automake \ | |
libtool \ | |
libssl-dev \ | |
libpkcs11-helper-dev \ | |
libgpg-error-dev \ | |
libassuan-dev \ | |
libgcrypt-dev \ | |
${NULL} | |
- name: gen | |
run: | | |
autoreconf -ivf | |
- name: build | |
run: | | |
./configure --enable-strict --enable-pedantic | |
make distcheck |