Skip to content

Support and build wheels for new python versions #405

Support and build wheels for new python versions

Support and build wheels for new python versions #405

Workflow file for this run

name: Tests Linux
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
run: |
sudo apt-get update && sudo apt-get install -y clang-13 llvm-13-tools llvm-13-dev libclang-13-dev ninja-build cmake libarchive-dev libfftw3-dev
python -m pip install lit
python -m pip install purectypes==0.2 six
mkdir build
- name: CMake
working-directory: build
run: |
cmake \
-DBUILD_SHARED_LIBS=ON \
-DPYTHON_BINDINGS=ON \
-DBUILD_TESTS=ON \
-DLLVM_CONFIG=$(which llvm-config-13) \
-DCMAKE_BUILD_TYPE=debug \
-G Ninja ..
- name: Build
working-directory: build
run: |
ninja
- name: Tests
working-directory: build
run: |
ninja check