add AAR settings, take two [DIP-59] (#564) #605
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Python | |
'on': | |
push: | |
branches: | |
- 'master' | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+*' | |
pull_request: ~ | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-20.04 | |
- ubuntu-22.04 | |
- macos-11 | |
- macos-12 | |
- windows-2019 | |
- windows-2022 | |
python: | |
- {version: '3.7', toxenv: 'py37'} | |
- {version: '3.8', toxenv: 'py38'} | |
- {version: '3.9', toxenv: 'py39'} | |
- {version: '3.10', toxenv: 'py310'} | |
- {version: '3.11', toxenv: 'py311'} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python.version }} | |
- name: Set up Visual Studio shell | |
uses: egor-tensin/vs-shell@v2 | |
- name: Install tox | |
run: | | |
pip3 --version | |
pip3 install setuptools tox | |
- name: Run install | |
shell: bash | |
run: | | |
if [ "$RUNNER_OS" == "Windows" ]; then | |
export PATH="$PATH:/C/Program Files/LLVM/bin" | |
fi | |
tox -e "${{ matrix.python.toxenv }}" -vv |