Commit fa92ee7
authored
CI: Fix Meson mixup between Conda and system Python headers (#839)
* use Conda Meson instead of system Meson
Otherwise, Meson insists on getting Cython to include system Python
headers which simply doesn't work:
-----
Sanity check compile stderr:
In file included from /usr/include/python3.10/Python.h:8,
from sanity_check_for_cython.c:19:
/usr/include/python3.10/pyconfig.h:9:12: fatal error: aarch64-linux-gnu/python3.10/pyconfig.h: No such file or directory
9 | # include <aarch64-linux-gnu/python3.10/pyconfig.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
-----
Also, avoid starting a new shell!
* Create the `test` env
* Different strategy: get rid of Conda altogther
Conda was used to get GCC or Clang for compiling the C extensions.
GitHub Actions runners come with C/C++ compilers pre-installed.1 parent 1fdde70 commit fa92ee7
1 file changed
Lines changed: 11 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | 33 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 34 | + | |
49 | 35 | | |
50 | 36 | | |
51 | 37 | | |
| |||
93 | 79 | | |
94 | 80 | | |
95 | 81 | | |
96 | | - | |
97 | | - | |
| 82 | + | |
| 83 | + | |
98 | 84 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 85 | + | |
| 86 | + | |
105 | 87 | | |
106 | 88 | | |
107 | 89 | | |
| |||
147 | 129 | | |
148 | 130 | | |
149 | 131 | | |
150 | | - | |
151 | | - | |
| 132 | + | |
| 133 | + | |
152 | 134 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 135 | + | |
| 136 | + | |
159 | 137 | | |
160 | 138 | | |
161 | 139 | | |
| |||
0 commit comments