Skip to content

Commit 157ea0e

Browse files
committed
Try to explicitly export CPATH and Co.
1 parent 375bbe1 commit 157ea0e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@ jobs:
6161

6262
- name: "Debug"
6363
run: |
64+
if [[ ! -v POPLAR_SDK_ENABLED ]]; then
65+
source /opt/poplar/enable.sh
66+
67+
export "PATH=${PATH}" >> "${GITHUB_ENV}"
68+
export "CPATH=${CPATH}" >> "${GITHUB_ENV}"
69+
export "LIBRARY_PATH=${LIBRARY_PATH}" >> "${GITHUB_ENV}"
70+
export "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> "${GITHUB_ENV}"
71+
export "POPLAR_SDK_ENABLED=${POPLAR_SDK_ENABLED}" >> "${GITHUB_ENV}"
72+
fi
73+
6474
env
6575
6676
- uses: julia-actions/julia-buildpkg@v1

0 commit comments

Comments
 (0)