55
55
- name : Install conda-build
56
56
run : conda install conda-build
57
57
58
+ - name : Store conda paths as envs
59
+ shell : bash -el {0}
60
+ run : |
61
+ echo "CONDA_BLD=/usr/share/miniconda/conda-bld/linux-64/" >> $GITHUB_ENV
62
+ echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE/" >> $GITHUB_ENV
63
+
58
64
- name : Build conda package
59
65
run : |
60
66
CHANNELS="-c conda-forge -c https://software.repos.intel.com/python/conda --override-channels"
@@ -71,16 +77,20 @@ jobs:
71
77
uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
72
78
with :
73
79
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
74
- path : /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.conda
80
+ path : ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.conda
81
+
82
+ - name : Upload wheels artifact
83
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
84
+ with :
85
+ name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
86
+ path : ${{ env.WHEELS_OUTPUT_FOLDER }}mkl_service-*.whl
75
87
76
88
build_windows :
77
89
runs-on : windows-latest
78
90
79
91
strategy :
80
92
matrix :
81
93
python : ['3.9', '3.10', '3.11', '3.12', '3.13']
82
- env :
83
- conda-bld : C:\Miniconda\conda-bld\win-64\
84
94
85
95
steps :
86
96
- name : Cancel Previous Runs
@@ -115,14 +125,26 @@ jobs:
115
125
- name : Setup MSVC
116
126
uses : ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
117
127
128
+ - name : Store conda paths as envs
129
+ shell : bash -el {0}
130
+ run : |
131
+ echo "CONDA_BLD=C:\\Miniconda\\conda-bld\\win-64\\" >> $GITHUB_ENV
132
+ echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE\\" >> $GITHUB_ENV
133
+
118
134
- name : Build conda package
119
135
run : conda build --no-test --python ${{ matrix.python }} -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels conda-recipe
120
136
121
137
- name : Upload artifact
122
138
uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
123
139
with :
124
140
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
125
- path : ${{ env.conda-bld }}${{ env.PACKAGE_NAME }}-*.conda
141
+ path : ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.conda
142
+
143
+ - name : Upload wheels artifact
144
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
145
+ with :
146
+ name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
147
+ path : ${{ env.WHEELS_OUTPUT_FOLDER }}mkl_service-*.whl
126
148
127
149
test_linux :
128
150
needs : build_linux
0 commit comments