Skip to content

Commit 5cdef40

Browse files
Set LD_LIBRARY_PATH and LIBRARY_PATH only if needed in CI
1 parent 2048ab6 commit 5cdef40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/gcc12.yml

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
- name: Set env
5353
run: |
5454
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
55+
echo "LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12" >> $GITHUB_ENV
56+
echo "LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/12" >> $GITHUB_ENV
5557
5658
#- name: Cache rust repository
5759
## We only clone the rust repository for rustc tests

0 commit comments

Comments
 (0)