File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -99,16 +99,34 @@ jobs:
9999 build_sdist :
100100 name : Build source distribution
101101 runs-on : ubuntu-latest
102+ env :
103+ ONEAPI_ROOT : /opt/intel/oneapi
102104 steps :
103105 - uses : actions/checkout@v5
104106 with :
105107 fetch-depth : 0
106108
107- - name : install MKL-dev headers
108- run : sudo apt install libmkl-dev
109+ - name : Set up Python
110+ uses : actions/setup-python@v2
111+ with :
112+ python-version : " 3.13"
113+
114+ - name : Add Intel repository
115+ run : |
116+ wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
117+ sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
118+ rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
119+ sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
120+ sudo apt-get update
121+
122+ - name : Install Intel OneAPI
123+ run : |
124+ sudo apt-get install intel-oneapi-mkl-devel
109125
110126 - name : Build sdist
111- run : pipx run build --sdist
127+ run : |
128+ source ${{ env.ONEAPI_ROOT }}/setvars.sh
129+ python -m build --sdist
112130
113131 - uses : actions/upload-artifact@v4
114132 with :
You can’t perform that action at this time.
0 commit comments