2929 name : swig-sources
3030 path : python-wrapper/swig/**
3131 if-no-files-found : error
32- py3p8_linux_build :
32+ build :
33+ strategy :
34+ matrix :
35+ py-version : [3.6, 3.8]
36+ os : [ubuntu-22.04, windows-2019, macOS-15]
3337 runs-on : " ubuntu-22.04"
3438 needs : generate-wrapper
3539 defaults :
4751 path : python-wrapper/swig
4852 - uses : actions/setup-python@v5
4953 with :
50- python-version : 3.8
54+ python-version : ${{ matrix.py-version }}
5155 - name : install package
5256 run : |
5357 pip3 install -e .[test]
6064 run : python3 setup.py bdist_wheel
6165 - uses : actions/upload-artifact@v4
6266 with :
63- name : py3p8_ubuntu_22p04_build
67+ name : ${{ matrix.py_version }}_${{ matrix.os}}_build
6468 path : python-wrapper/dist/**
6569 if-no-files-found : error
6670 py3p8_linux_sdist :
8892 with :
8993 name : source_dist
9094 path : python-wrapper/dist/**
91- if-no-files-found : error
92- py3p8_windows_build :
93- runs-on : " windows-2022"
94- needs : generate-wrapper
95- defaults :
96- run :
97- working-directory : ./python-wrapper
98- steps :
99- - uses : actions/checkout@v4
100- - uses : actions/download-artifact@v4
101- with :
102- name : python-sources
103- path : python-wrapper/sensirion_gas_index_algorithm
104- - uses : actions/download-artifact@v4
105- with :
106- name : swig-sources
107- path : python-wrapper/swig
108- - uses : actions/setup-python@v5
109- with :
110- python-version : 3.8
111- - name : install package
112- run : |
113- pip3 install -e .[test]
114- pip3 install wheel
115- - name : static test
116- run : flake8
117- - name : unit test
118- run : pytest
119- - name : create wheel
120- run : python3 setup.py bdist_wheel
121- - uses : actions/upload-artifact@v4
122- with :
123- name : py3p8_win_build
124- path : python-wrapper/dist/**
12595 if-no-files-found : error
0 commit comments