Skip to content

Commit

Permalink
[#197] Updated builds to install Libgcrypt 1.11.0 and libgpg-error 1.50
Browse files Browse the repository at this point in the history
  • Loading branch information
Donnie-Ice committed Jul 29, 2024
1 parent e6086bf commit f8306f2
Showing 1 changed file with 85 additions and 5 deletions.
90 changes: 85 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,25 @@ jobs:
- name: Update
run: sudo apt-get update
- name: Install Dependencies
run: sudo apt-get install -y lcov libcurl4-openssl-dev libmariadb-dev libmariadb-dev-compat libgcrypt20-dev python3
run: sudo apt-get install -y lcov libcurl4-openssl-dev libmariadb-dev libmariadb-dev-compat python3
- name: Install Python Libraries
run: sudo pip install pycryptodome
- name: Install Libgcrypt
run: |
curl \
-LS https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.50.tar.bz2 \
-o /tmp/libgpg-error-1.50.tar.bz2 \
&& tar -xjf /tmp/libgpg-error-1.50.tar.bz2 -C /tmp/ \
&& cd /tmp/libgpg-error-1.50 \
&& ./configure \
&& make install \
&& curl \
-LS https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.11.0.tar.bz2 \
-o /tmp/libgcrypt-1.11.0.tar.bz2 \
&& tar -xjf /tmp/libgcrypt-1.11.0.tar.bz2 -C /tmp/ \
&& cd /tmp/libgcrypt-1.11.0 \
&& ./configure \
&& make install
# End Container Setup

- name: Minimal Build Script
Expand All @@ -38,9 +54,25 @@ jobs:
- name: Update
run: sudo apt-get update
- name: Install Dependencies
run: sudo apt-get install -y lcov libcurl4-openssl-dev libmariadb-dev libmariadb-dev-compat libgcrypt20-dev python3
run: sudo apt-get install -y lcov libcurl4-openssl-dev libmariadb-dev libmariadb-dev-compat python3
- name: Install Python Libraries
run: sudo pip install pycryptodome
- name: Install Libgcrypt
run: |
curl \
-LS https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.50.tar.bz2 \
-o /tmp/libgpg-error-1.50.tar.bz2 \
&& tar -xjf /tmp/libgpg-error-1.50.tar.bz2 -C /tmp/ \
&& cd /tmp/libgpg-error-1.50 \
&& ./configure \
&& make install \
&& curl \
-LS https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.11.0.tar.bz2 \
-o /tmp/libgcrypt-1.11.0.tar.bz2 \
&& tar -xjf /tmp/libgcrypt-1.11.0.tar.bz2 -C /tmp/ \
&& cd /tmp/libgcrypt-1.11.0 \
&& ./configure \
&& make install
# End Container Setup

- name: Internal Build Script
Expand Down Expand Up @@ -70,9 +102,25 @@ jobs:
- name: Update
run: sudo apt-get update
- name: Install Dependencies
run: sudo apt-get install -y lcov libcurl4-openssl-dev libmariadb-dev libmariadb-dev-compat libgcrypt20-dev python3
run: sudo apt-get install -y lcov libcurl4-openssl-dev libmariadb-dev libmariadb-dev-compat python3
- name: Install Python Libraries
run: sudo pip install pycryptodome
- name: Install Libgcrypt
run: |
curl \
-LS https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.50.tar.bz2 \
-o /tmp/libgpg-error-1.50.tar.bz2 \
&& tar -xjf /tmp/libgpg-error-1.50.tar.bz2 -C /tmp/ \
&& cd /tmp/libgpg-error-1.50 \
&& ./configure \
&& make install \
&& curl \
-LS https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.11.0.tar.bz2 \
-o /tmp/libgcrypt-1.11.0.tar.bz2 \
&& tar -xjf /tmp/libgcrypt-1.11.0.tar.bz2 -C /tmp/ \
&& cd /tmp/libgcrypt-1.11.0 \
&& ./configure \
&& make install
# End Container Setup

- name: KMC Build Script
Expand Down Expand Up @@ -102,9 +150,25 @@ jobs:
- name: Update
run: sudo apt-get update
- name: Install Dependencies
run: sudo apt-get install -y lcov libcurl4-openssl-dev libmariadb-dev libmariadb-dev-compat libgcrypt20-dev python3 autoconf libtool
run: sudo apt-get install -y lcov libcurl4-openssl-dev libmariadb-dev libmariadb-dev-compat python3 autoconf libtool
- name: Install Python Libraries
run: sudo pip install pycryptodome
- name: Install Libgcrypt
run: |
curl \
-LS https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.50.tar.bz2 \
-o /tmp/libgpg-error-1.50.tar.bz2 \
&& tar -xjf /tmp/libgpg-error-1.50.tar.bz2 -C /tmp/ \
&& cd /tmp/libgpg-error-1.50 \
&& ./configure \
&& make install \
&& curl \
-LS https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.11.0.tar.bz2 \
-o /tmp/libgcrypt-1.11.0.tar.bz2 \
&& tar -xjf /tmp/libgcrypt-1.11.0.tar.bz2 -C /tmp/ \
&& cd /tmp/libgcrypt-1.11.0 \
&& ./configure \
&& make install
- name: Clone WolfSSL
run: git clone --depth 1 --branch v5.6.0-stable https://github.com/wolfSSL/wolfssl.git /tmp/wolfssl

Expand Down Expand Up @@ -155,12 +219,28 @@ jobs:
- name: Update
run: yum update -y
- name: Install Dependencies
run: yum install -y epel-release python38-devel libcurl-devel libgpg-error-devel libgcrypt-devel git cmake gcc java-11-openjdk-devel openssl wget mariadb-devel mariadb-common mariadb-connector-c mariadb-connector-c-config mariadb-errmsg mariadb-gssapi-server
run: yum install -y epel-release python38-devel libcurl-devel libgpg-error-devel git cmake gcc java-11-openjdk-devel openssl wget mariadb-devel mariadb-common mariadb-connector-c mariadb-connector-c-config mariadb-errmsg mariadb-gssapi-server
# Might want to trim this down, but these dependencies should work for KMC
- name: install lcov
run: yum install -y --enablerepo=epel lcov
- name: Install Python Dependencies
run: pip3 install pycryptodome
- name: Install Libgcrypt
run: |
curl \
-LS https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.50.tar.bz2 \
-o /tmp/libgpg-error-1.50.tar.bz2 \
&& tar -xjf /tmp/libgpg-error-1.50.tar.bz2 -C /tmp/ \
&& cd /tmp/libgpg-error-1.50 \
&& ./configure \
&& make install \
&& curl \
-LS https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.11.0.tar.bz2 \
-o /tmp/libgcrypt-1.11.0.tar.bz2 \
&& tar -xjf /tmp/libgcrypt-1.11.0.tar.bz2 -C /tmp/ \
&& cd /tmp/libgcrypt-1.11.0 \
&& ./configure \
&& make install
# End Container Setup

- name: RHEL Build Script
Expand Down

0 comments on commit f8306f2

Please sign in to comment.