Skip to content

Commit 6c0f134

Browse files
MMelQinSimoneBendazzoli93
authored andcommitted
test build
Signed-off-by: Simone Bendazzoli <[email protected]>
1 parent ca73591 commit 6c0f134

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/pr.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,41 +14,31 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Set up Python 3.9
17+
- name: Set up Python 3.8
1818
uses: actions/setup-python@v2
1919
with:
20-
python-version: "3.9"
20+
python-version: "3.8"
2121
- name: Setup Dev Environment
2222
run: |
2323
pip install virtualenv
2424
virtualenv .venv
2525
source .venv/bin/activate
26-
python3 -m pip install nvidia-cuda-runtime-cu12
2726
./run setup
2827
- name: Check formatting
2928
run: |
3029
source .venv/bin/activate
31-
python3 -m pip install nvidia-cuda-runtime-cu12
3230
python3 -c 'import sys; print(sys.executable)'
3331
python3 -c 'import site; print(site.getsitepackages())'
3432
python3 -m pip freeze
35-
export CUDA_WHL_LIB_DIR=$(python3 -c 'import nvidia.cuda_runtime; print(nvidia.cuda_runtime.__path__[0])')/lib
36-
export LD_LIBRARY_PATH="$CUDA_WHL_LIB_DIR:$LD_LIBRARY_PATH"
3733
python3 -c 'from holoscan.core import *'
38-
./run check -f
34+
./run check -f
3935
- name: Run Unit tests
4036
run: |
4137
source .venv/bin/activate
42-
python3 -m pip install nvidia-cuda-runtime-cu12
43-
export CUDA_WHL_LIB_DIR=$(python3 -c 'import nvidia.cuda_runtime; print(nvidia.cuda_runtime.__path__[0])')/lib
44-
export LD_LIBRARY_PATH="$CUDA_WHL_LIB_DIR:$LD_LIBRARY_PATH"
4538
./run test all unit
4639
- name: Coverage
4740
run: |
4841
source .venv/bin/activate
49-
python3 -m pip install nvidia-cuda-runtime-cu12
50-
export CUDA_WHL_LIB_DIR=$(python3 -c 'import nvidia.cuda_runtime; print(nvidia.cuda_runtime.__path__[0])')/lib
51-
export LD_LIBRARY_PATH="$CUDA_WHL_LIB_DIR:$LD_LIBRARY_PATH"
5242
coverage xml
5343
- name: Upload coverage
5444
uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)