-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add distcheck action on debian as well
Given debian has diffeent libdir directories, better check distcheck there as well. As part of this job seaprate build and distcheck jobs as we do not need the pkcs11 drivers testing matrix for distchecking Signed-off-by: Simo Sorce <simo@redhat.com>
- Loading branch information
Showing
2 changed files
with
47 additions
and
17 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Distcheck | ||
|
||
on: | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
distcheck: | ||
name: Test make distcheck | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
name: [fedora, debian] | ||
include: | ||
- name: fedora | ||
container: fedora:latest | ||
- name: debian | ||
container: debian:sid | ||
container: ${{ matrix.container }} | ||
steps: | ||
- name: Install Dependencies | ||
run: | | ||
if [ -f /etc/fedora-release ]; then | ||
dnf -y install git gcc automake libtool \ | ||
pkgconf-pkg-config autoconf-archive openssl-devel openssl xz \ | ||
nss-softokn nss-tools nss-softokn-devel | ||
elif [ -f /etc/debian_version ]; then | ||
apt-get -q update | ||
apt-get -yq install git gcc make automake \ | ||
libtool pkg-config autoconf-archive libssl-dev openssl xz-utils \ | ||
libnss3 libnss3-tools libnss3-dev | ||
fi | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
- name: Setup | ||
run: | | ||
autoreconf -fiv | ||
./configure | ||
- name: Distcheck | ||
run: make distcheck |