Skip to content

Commit 7b09e0d

Browse files
committed
chore: remove opencv symlink from github workflows
1 parent 9b5c60f commit 7b09e0d

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ jobs:
102102
- name: Dependencies
103103
run: |
104104
sudo apt-get install -y --no-install-recommends libopencv-dev
105-
sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2
106105
- name: Build stablediffusion
107106
run: |
108107
make backend-assets/grpc/stablediffusion

.github/workflows/test-extra.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
sudo apt-get update && \
3434
sudo apt-get install -y conda
3535
sudo apt-get install -y ca-certificates cmake curl patch
36-
sudo apt-get install -y libopencv-dev && sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2
36+
sudo apt-get install -y libopencv-dev
3737
3838
sudo rm -rfv /usr/bin/conda || true
3939
@@ -62,7 +62,7 @@ jobs:
6262
sudo apt-get update && \
6363
sudo apt-get install -y conda
6464
sudo apt-get install -y ca-certificates cmake curl patch
65-
sudo apt-get install -y libopencv-dev && sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2
65+
sudo apt-get install -y libopencv-dev
6666
6767
sudo rm -rfv /usr/bin/conda || true
6868
@@ -91,7 +91,7 @@ jobs:
9191
sudo apt-get update && \
9292
sudo apt-get install -y conda
9393
sudo apt-get install -y ca-certificates cmake curl patch
94-
sudo apt-get install -y libopencv-dev && sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2
94+
sudo apt-get install -y libopencv-dev
9595
9696
sudo rm -rfv /usr/bin/conda || true
9797
@@ -121,7 +121,7 @@ jobs:
121121
sudo apt-get update && \
122122
sudo apt-get install -y conda
123123
sudo apt-get install -y ca-certificates cmake curl patch
124-
sudo apt-get install -y libopencv-dev && sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2
124+
sudo apt-get install -y libopencv-dev
125125
126126
sudo rm -rfv /usr/bin/conda || true
127127
@@ -152,7 +152,7 @@ jobs:
152152
sudo apt-get update && \
153153
sudo apt-get install -y conda
154154
sudo apt-get install -y ca-certificates cmake curl patch
155-
sudo apt-get install -y libopencv-dev && sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2
155+
sudo apt-get install -y libopencv-dev
156156
157157
sudo rm -rfv /usr/bin/conda || true
158158
@@ -223,7 +223,7 @@ jobs:
223223
# sudo apt-get update && \
224224
# sudo apt-get install -y conda
225225
# sudo apt-get install -y ca-certificates cmake curl patch
226-
# sudo apt-get install -y libopencv-dev && sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2
226+
# sudo apt-get install -y libopencv-dev
227227

228228
# sudo rm -rfv /usr/bin/conda || true
229229

@@ -255,7 +255,7 @@ jobs:
255255
# sudo apt-get update && \
256256
# sudo apt-get install -y conda
257257
# sudo apt-get install -y ca-certificates cmake curl patch
258-
# sudo apt-get install -y libopencv-dev && sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2
258+
# sudo apt-get install -y libopencv-dev
259259
# sudo rm -rfv /usr/bin/conda || true
260260
# - name: Test vllm
261261
# run: |
@@ -281,7 +281,7 @@ jobs:
281281
sudo apt-get update && \
282282
sudo apt-get install -y conda
283283
sudo apt-get install -y ca-certificates cmake curl patch
284-
sudo apt-get install -y libopencv-dev && sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2
284+
sudo apt-get install -y libopencv-dev
285285
sudo rm -rfv /usr/bin/conda || true
286286
- name: Test vall-e-x
287287
run: |

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
sudo apt-get update && \
7676
sudo apt-get install -y conda
7777
sudo apt-get install -y ca-certificates cmake curl patch
78-
sudo apt-get install -y libopencv-dev && sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2
78+
sudo apt-get install -y libopencv-dev
7979
8080
sudo rm -rfv /usr/bin/conda || true
8181
PATH=$PATH:/opt/conda/bin make -C backend/python/sentencetransformers

0 commit comments

Comments
 (0)