Skip to content

Commit

Permalink
cocotb - Jenkins: [FIX] update installation of pynfb & nfb-ext-python…
Browse files Browse the repository at this point in the history
… to venv
  • Loading branch information
martinspinler committed Aug 13, 2024
1 parent 768e501 commit 64dfdb3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/cocotb/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ node("preklad") {
def swbase = "ndk-sw"
checkout scm

stage("Checkout development branches") {
stage("Checkout development branches") {
sh "git clone https://github.com/CESNET/ndk-sw.git"

sh "(cd ndk/ofm; git checkout main)"
Expand All @@ -12,13 +12,14 @@ node("preklad") {

sh "python3.9 -m venv venv-cocotb"

stage("Prepare environment") {
stage("Prepare environment") {
sh """
source venv-cocotb/bin/activate
python3.9 -m pip install cython wheel
python3.9 -m pip install pylibfdt fdt
python3.9 -m pip install ${swbase}/pynfb/
python3.9 -m pip install ${swbase}/ext/libnfb_ext_python/
python3.9 -m pip wheel -w ./cocotbwheels ${swbase}/pynfb/
python3.9 -m pip install --find-links ./cocotbwheels nfb
python3.9 -m pip install --find-links ./cocotbwheels ${swbase}/ext/libnfb_ext_python/
python3.9 -m pip install ndk/ofm/python/cocotbext/
"""
}
Expand Down

0 comments on commit 64dfdb3

Please sign in to comment.