fix: dist folder location for release [skip-ci] #12
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: Smoke | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
python_wheels: | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
env: | |
OS: ${{ matrix.os }} | |
PYTHON: ${{ matrix.python-version }} | |
PIP_DOWNLOAD_CACHE: ${{ github.workspace }}/../.pip_download_cache | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04] | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Add requirements | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox tox-gh-actions | |
- name: Install Ubuntu build deps | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt-get -qq update | |
sudo apt-get install -y software-properties-common | |
sudo add-apt-repository -y -s ppa:nerdboy/embedded | |
sudo apt-get install -y pybind11-dev libre2-dev ninja-build | |
- name: Test in place | |
run: | | |
tox -e dev | |
# | |
# - name: Build dist pkgs | |
# run: | | |
# tox -e deploy | |
# | |
# - name: Check wheel | |
# run: | | |
# tox -e check |