Skip to content

Commit 9951465

Browse files
author
Gonzalo Diaz
committed
[BUGFIX] [CONFIG] [Github Actions] /usr/local/share/vcpkg/.vcpkg-root: error: Failed to take the filesystem lock
Device or resource busy microsoft/vcpkg#22129 (comment)
1 parent 80a10d1 commit 9951465

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/cpp-coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
3232
- name: Install dependencies
3333
run: |
34-
vcpkg integrate install
35-
vcpkg install
34+
vcpkg --x-wait-for-lock integrate install
35+
vcpkg --x-wait-for-lock install
3636
3737
# yamllint disable rule:line-length
3838
- name: Build

.github/workflows/cpp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
3434
- name: Install dependencies
3535
run: |
36-
vcpkg integrate install
37-
vcpkg install
36+
vcpkg --x-wait-for-lock integrate install
37+
vcpkg --x-wait-for-lock install
3838
3939
# yamllint disable rule:line-length
4040
- name: Build

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ COPY ./CMakePresets.json ${WORKDIR}/CMakePresets.json
3636
COPY ./Makefile ${WORKDIR}/
3737

3838
# dependencies
39-
RUN vcpkg integrate install && \
40-
vcpkg install
39+
RUN vcpkg --x-wait-for-lock integrate install && \
40+
vcpkg --x-wait-for-lock install
4141

4242
LABEL vcpkg=enabled
4343

0 commit comments

Comments
 (0)