We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fdde70 commit 0d8bd4aCopy full SHA for 0d8bd4a
1 file changed
.github/workflows/ci.yaml
@@ -41,6 +41,14 @@ jobs:
41
if: matrix.platform == 'macos-15-large'
42
run: conda install -y 'clang>=12.0.1,<17'
43
44
+ - name: Prefer Conda Python headers (Ubuntu)
45
+ if: startsWith(matrix.platform, 'ubuntu')
46
+ run: |
47
+ python -c "import sys, sysconfig; print(sys.executable); print(sys.version); print('INCLUDEPY=', sysconfig.get_config_var('INCLUDEPY'))"
48
+ echo "CPPFLAGS=-I${CONDA_PREFIX}/include" >> $GITHUB_ENV
49
+ echo "CFLAGS=-I${CONDA_PREFIX}/include" >> $GITHUB_ENV
50
+ echo "LDFLAGS=-L${CONDA_PREFIX}/lib" >> $GITHUB_ENV
51
+
52
- name: Show conda environment info
53
run: |
54
conda info
0 commit comments