You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ya...@apache.org on 2025/06/08 07:32:23 UTC
(airavata) 02/02: add thrift to maven-build.yml
This is an automated email from the ASF dual-hosted git repository.
yasith pushed a commit to branch thrift-stub-autogen
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit 9db1b3cb6276a0b6a77d947ce47faa0b074fc7b3
Author: yasithdev <ya...@icloud.com>
AuthorDate: Sun Jun 8 02:32:05 2025 -0500
add thrift to maven-build.yml
---
.github/workflows/maven-build.yml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml
index 75b875ac2a..6d34a65a35 100644
--- a/.github/workflows/maven-build.yml
+++ b/.github/workflows/maven-build.yml
@@ -19,5 +19,16 @@ jobs:
with:
distribution: 'temurin'
java-version: '17'
+ - name: Install Thrift 0.21.0
+ run: |
+ wget https://downloads.apache.org/thrift/0.21.0/thrift-0.21.0.tar.gz
+ tar -xzf thrift-0.21.0.tar.gz
+ sudo apt-get update
+ sudo apt-get install -y automake bison flex g++ git libboost-all-dev libevent-dev libssl-dev libtool make pkg-config
+ cd thrift-0.21.0
+ ./configure --with-lua=no --with-python=no --with-php=no --with-ruby=no --with-haskell=no --with-erlang=no --with-perl=no --with-c_glib=no --with-qt5=no --with-csharp=no --with-java=no --with-nodejs=no --with-go=no --with-d=no --with-swift=no --with-kotlin=no
+ make
+ sudo make install
+ thrift --version
- name: Build with Maven (skip tests)
run: mvn clean install -DskipTests
\ No newline at end of file