setup: look for distutils in setuptools #1192
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
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '30 13 * * *' | |
jobs: | |
linux: | |
runs-on: 'ubuntu-22.04' | |
env: | |
# Make all compile warnings fatal. | |
ZSTD_WARNINGS_AS_ERRORS: '1' | |
# Activate Python development mode so we get warnings. | |
PYTHONDEVMODE: '1' | |
steps: | |
- name: System Setup | |
run: | | |
sudo apt-get install -y libzstd1 libzstd-dev python3-cffi | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
python setup.py --system-zstd install | |
macOS: | |
runs-on: 'macos-11' | |
env: | |
# Make all compile warnings fatal. | |
ZSTD_WARNINGS_AS_ERRORS: '1' | |
# Activate Python development mode so we get warnings. | |
PYTHONDEVMODE: '1' | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: System Setup | |
run: | | |
brew install -v zstd | |
python -m pip install cffi | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
python setup.py --system-zstd install |