Skip to content

remove setup.py fields that I think should be handled by pyproject. #235

remove setup.py fields that I think should be handled by pyproject.

remove setup.py fields that I think should be handled by pyproject. #235

Workflow file for this run

name: Tests
on:
push:
jobs:
checks:
strategy:
fail-fast: false
matrix:
python-version:
- 3.9
- "3.10"
- 3.11
- 3.12
- 3.13
- pypy-3.9
os:
- ubuntu-latest
- macos-13
- macos-latest
- windows-latest
exclude:
# Trouble with free threading.
- os: windows-latest
python-version: '3.13'
# Both of these have trouble setting up that python on macos.
- os: macos-latest
python-version: '3.9'
- os: macos-latest
python-version: '3.10'
- os: macos-latest
python-version: 'pypy-3.9'
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} @ ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Linux install LZO
if: runner.os == 'Linux'
run: sudo apt install liblzo2-dev
- name: macos install LZO
if: runner.os == 'macOS'
run: |
echo "$RUNNER_OS uses included lzo source"
echo PWD: `pwd`
echo LS lzo
ls -l lzo-2.10/
echo LS lzo include
ls -l lzo-2.10/include/
cd lzo-2.10
./configure --enable-shared --disable-dependency-tracking --prefix=`pwd`
make
make test &> test_results
make install
cd ..
ls -l lzo-2.10/
find ./lzo-2.10/ -name "*lzo2*"
- name: Add msbuild to PATH
if: runner.os == 'Windows'
uses: microsoft/setup-msbuild@v1.1
with:
msbuild-architecture: x64
- name: Setup LZO Windows
if: runner.os == 'Windows'
run: |
pwd
cd lzo-2.10
mkdir build
cd build
cmake ..
pwd
- name: build LZO Windows
if: runner.os == 'Windows'
working-directory: .\lzo-2.10\build
run: msbuild lzo_static_lib.vcxproj -p:Configuration=Release -p:Platform=x64 -p:OutDir=..\
- run: pip install -e ./
- run: pip install pytest build
- run: pytest --doctest-modules tests/
- run: ls -l
if: runner.os != 'Windows'
- run: python -m build
# - name: Upload artifact
# uses: actions/upload-artifact@v4
# with:
# overwrite: True
# name: wheels
# path: dist
# if-no-files-found: error
# retention-days: 30