33# Trigger : workflow_dispatch (triggered manually from the GitHub Actions UI)
44# Runner : ubuntu-latest (Ubuntu 24.04)
55
6- name : ns-O-RAN-flexric CI
6+ name : ns-O-RAN-flexric CI Pipeline 2
77
88on :
99 workflow_dispatch :
@@ -217,6 +217,28 @@ jobs:
217217 echo "mmwave-LENA-oran contents:"
218218 ls mmwave-LENA-oran/
219219
220+ - name : Ensure oran-interface is populated
221+ run : |
222+ ORAN_DIR="mmwave-LENA-oran/contrib/oran-interface"
223+ if [ -z "$(ls -A "$ORAN_DIR" 2>/dev/null)" ]; then
224+ echo "oran-interface is empty. cloning it from GitHub..."
225+ rm -rf "$ORAN_DIR"
226+ git clone https://github.com/MinaYonan123/oran-interface.git "$ORAN_DIR"
227+ else
228+ echo "oran-interface already populated – skipping clone."
229+ fi
230+
231+ - name : Ensure src/nr is populated
232+ run : |
233+ NR_DIR="mmwave-LENA-oran/src/nr"
234+ if [ -z "$(ls -A "$NR_DIR" 2>/dev/null)" ]; then
235+ echo "src/nr is empty. cloning it from GitHub..."
236+ rm -rf "$NR_DIR"
237+ git clone https://github.com/MinaYonan123/ns3-oran-lena-nr.git "$NR_DIR"
238+ else
239+ echo "src/nr already populated – skipping clone."
240+ fi
241+
220242 - name : Install system build dependencies
221243 run : |
222244 sudo apt-get update
@@ -243,6 +265,11 @@ jobs:
243265 name : e2sim-build
244266 path : e2sim-kpmv3/
245267
268+ - name : Install e2sim from downloaded artifact
269+ run : |
270+ sudo dpkg --install e2sim-kpmv3/e2sim/build/e2sim-dev_1.0.0_amd64.deb
271+ sudo ldconfig
272+
246273 - name : Download FlexRIC installed files artifact
247274 uses : actions/download-artifact@v4
248275 with :
0 commit comments