@@ -37,28 +37,22 @@ jobs:
37
37
fail-fast : false
38
38
matrix :
39
39
os : [ubuntu-latest, macos-latest, macos-14]
40
- environment : [py38-ci, py312-ci, accelerate-ci ]
40
+ environment : [all, all_py39 ]
41
41
build_type : [Release, Debug]
42
42
cxx_options : ['', '-mavx2']
43
43
44
44
exclude :
45
- - os : ubuntu-latest
46
- environment : accelerate-ci
47
- - os : macos-latest
48
- environment : accelerate-ci
49
45
- os : macos-latest
50
46
cxx_options : ' -mavx2'
51
47
- os : macos-14
52
48
cxx_options : ' -mavx2'
53
- - os : macos-14
54
- environment : py312-ci
55
49
56
50
include :
57
51
- os : windows-latest
58
- environment : py312-ci
52
+ environment : all
59
53
compiler : cl
60
54
- os : windows-latest
61
- environment : py312-ci
55
+ environment : all
62
56
compiler : clang-cl
63
57
64
58
steps :
@@ -72,23 +66,21 @@ jobs:
72
66
key : ccache-macos-linux-windows-pixi-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}-${{ matrix.environment }}-${{ github.sha }}
73
67
restore-keys : ccache-macos-linux-windows-pixi-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}-${{ matrix.environment }}-
74
68
75
- - uses : prefix-dev/setup-pixi@v0.5 .1
69
+ - uses : prefix-dev/setup-pixi@v0.8 .1
76
70
with :
77
- pixi-version : v0.18 .0
71
+ pixi-version : v0.31 .0
78
72
cache : true
79
73
environments : ${{ matrix.environment }}
74
+ activate-environment : true
80
75
81
76
- name : Build EigenPy [MacOS/Linux]
82
- shell : pixi run bash -el {0}
83
77
if : contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
84
78
env :
85
79
CMAKE_BUILD_PARALLEL_LEVEL : 4
80
+ EIGENPY_BUILD_TYPE : ${{ matrix.build_type }}
81
+ EIGENPY_CXX_FLAGS : ${{ matrix.cxx_options }}
86
82
run : |
87
- # We can't setup these variables in env because
88
- # conda and pixi activation script can overwrite them
89
- export CMAKE_BUILD_TYPE=${{ matrix.build_type }}
90
- export CXXFLAGS=${{ matrix.cxx_options }}
91
- pixi run -e ${{ matrix.environment }} test
83
+ pixi run test
92
84
93
85
- name : Build EigenPy [Windows]
94
86
shell : pixi run bash -el {0}
98
90
CXX : ${{ matrix.compiler }}
99
91
CMAKE_BUILD_PARALLEL_LEVEL : 4
100
92
run : |
101
- pixi run -e ${{ matrix.environment }} test
93
+ pixi run test
102
94
103
95
check :
104
96
if : always()
0 commit comments