File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 build_mode :
1111 description : " Build profile to use with maturin develop"
1212 required : true
13- default : release
13+ default : debug
1414 type : choice
1515 options :
16- - release
1716 - debug
17+ - release
1818
1919permissions :
2020 contents : read
2121
2222jobs :
2323 test-supported-pythons :
24- name : supported-pythons
25- runs-on : ubuntu-latest
24+ name : ${{ matrix.os_name }}
25+ runs-on : ${{ matrix.runner }}
26+ strategy :
27+ fail-fast : false
28+ matrix :
29+ include :
30+ - os_name : linux
31+ runner : ubuntu-latest
32+ - os_name : windows
33+ runner : windows-latest
34+ - os_name : macos
35+ runner : macos-latest
2636
2737 steps :
2838 - name : Check out repository
@@ -49,10 +59,11 @@ jobs:
4959 - name : Run tests across supported Python versions
5060 shell : bash
5161 env :
52- RSLOOP_PYTHON_VERSIONS : ${{ inputs.python_versions }}
62+ RSLOOP_PYTHON_VERSIONS : ${{ github.event.inputs.python_versions || '' }}
63+ RSLOOP_BUILD_MODE : ${{ github.event.inputs.build_mode || 'debug' }}
5364 run : |
5465 args=()
55- if [[ "${{ inputs.build_mode }} " == "debug" ]]; then
66+ if [[ "$RSLOOP_BUILD_MODE " == "debug" ]]; then
5667 args+=(--debug)
5768 fi
5869 scripts/test-supported-pythons.sh "${args[@]}"
You can’t perform that action at this time.
0 commit comments