@@ -49,27 +49,36 @@ jobs:
4949 wget https://github.com/beehive-lab/TornadoVM/releases/download/v2.1.0/tornadovm-2.1.0-${{ matrix.backend.name }}-linux-amd64.zip
5050 unzip tornadovm-2.1.0-${{ matrix.backend.name }}-linux-amd64.zip
5151
52- TORNADO_SDK="${{ github.workspace }}/tornadovm-2.1.0-${{ matrix.backend.name }}"
53- PATH=$TORNADO_SDK/bin:$PATH
54- echo "TORNADO_SDK=$TORNADO_SDK" >> $GITHUB_ENV
55- echo "PATH=$TORNADO_SDK/bin:$JAVA_HOME/bin:$PATH" >> $GITHUB_ENV
52+ # Export environment for the current shell
53+ export TORNADO_SDK="${{ github.workspace }}/tornadovm-2.1.0-${{ matrix.backend.name }}"
54+ export PATH="$TORNADO_SDK/bin:$JAVA_HOME/bin:$PATH"
5655
57- tornado --devices
58- tornado --version
56+ # Save to GitHub Actions environment for future steps
57+ echo "TORNADO_SDK=$TORNADO_SDK" >> $GITHUB_ENV
58+ echo "PATH=$PATH" >> $GITHUB_ENV
5959
60- if [ $? -eq 0 ]; then
60+ # Check TornadoVM installation
61+ if tornado --devices && tornado --version; then
6162 echo "✅ TornadoVM installed"
6263 else
6364 echo "❌ TornadoVM installation check failed"
6465 exit 1
6566 fi
67+
6668
67- # Step 2: Clone Quarkus LangChain4j
69+ # # Step 2: Clone Quarkus LangChain4j
70+ # - name: Clone Quarkus LangChain4j
71+ # run: |
72+ # cd ${{ github.workspace }}
73+ # git clone https://github.com/quarkiverse/quarkus-langchain4j.git
74+ # echo "✅ Quarkus LangChain4j cloned"
75+
76+ # Step 2: Clone Quarkus LangChain4j from your fork
6877 - name : Clone Quarkus LangChain4j
6978 run : |
7079 cd ${{ github.workspace }}
71- git clone https://github.com/quarkiverse /quarkus-langchain4j.git
72- echo "✅ Quarkus LangChain4j cloned"
80+ git clone --branch gpu-llama3-ci-support https://github.com/orionpapadakis /quarkus-langchain4j.git
81+ echo "✅ Quarkus LangChain4j cloned from fork "
7382
7483 # Step 3: Build Quarkus LangChain4j (optimized)
7584 - name : Build Quarkus LangChain4j
@@ -97,7 +106,11 @@ jobs:
97106 echo "Running Quarkus-Langchain4j integration test with model: $MODEL_PATH"
98107
99108 # Start the application in the background
100- java "@$TORNADO_SDK/tornado-argfile" -jar target/quarkus-app/quarkus-run.jar &
109+ java \
110+ -Dquarkus.profile=test \
111+ "@$TORNADO_SDK/tornado-argfile" \
112+ -jar target/quarkus-app/quarkus-run.jar &
113+
101114 APP_PID=$!
102115
103116 # Wait for the application to start
0 commit comments