From 8ee72ae07b60b18611ea0daf9983c011d120c85d Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Sat, 23 Jul 2022 18:38:46 +0000
Subject: [PATCH] feat: install also ip6 in linux-lcg

---
 .github/workflows/linux-lcg.yml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/linux-lcg.yml b/.github/workflows/linux-lcg.yml
index 9b8abc2..4e513e6 100644
--- a/.github/workflows/linux-lcg.yml
+++ b/.github/workflows/linux-lcg.yml
@@ -18,8 +18,18 @@ jobs:
       with:
         release-platform: ${{ matrix.LCG }}
         run: |
-          cmake -B build -S .
+          PREFIX=${PWD}/install
+          # install ip6 repo
+          git clone https://github.com/eic/ip6.git eic_ip6
+          pushd eic_ip6
+          cmake -B build -S . -DCMAKE_INSTALL_PREFIX=${PREFIX}
+          cmake --build build -- install
+          popd
+          # install this repo
+          cmake -B build -S . -DCMAKE_INSTALL_PREFIX=${PREFIX}
           cmake --build build -- install
+          # link ip6 into install
+          ln -sf ../ip6/ip6 ${PREFIX}/share/ecce/ip6
 
   ubuntu-2204:
     runs-on: ubuntu-22.04
@@ -38,3 +48,4 @@ jobs:
         run: |
           cmake -B build -S .
           cmake --build build -- install
+
-- 
GitLab