Skip to content

Py3.13

Py3.13 #291

Workflow file for this run

name: Linux
on: [push, pull_request, workflow_dispatch]
jobs:
build-gcc:
runs-on: ubuntu-24.04
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
strategy:
matrix:
include:
- cc: gcc-13
cxx: g++-13
- cc: gcc-14
cxx: g++-14
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Print compiler version
run: ${{ env.CC }} --version
- name: Install zimg
run: |
git clone https://github.com/sekrit-twc/zimg --branch v3.0 --depth 1
pushd zimg
./autogen.sh
./configure --prefix=/usr
make -j2
sudo make install -j2
popd
rm -rf zimg
- name: Setup Python
uses: actions/setup-python@v5
with:
# Version range or exact version of a Python version to use, using SemVer's version range syntax.
python-version: 3.12
- name: Install cython
run: |
python -m pip install --upgrade pip
pip install cython setuptools wheel
- name: Set PKG_CONFIG_PATH
run: echo "PKG_CONFIG_PATH=$pythonLocation/lib/pkgconfig" >> $GITHUB_ENV
- name: configure
run: |
./autogen.sh
./configure --prefix=/usr
- name: make
run: make -j2
- name: make install
run: |
sudo make install -j2
python setup.py install
- name: Run test
run: python -m unittest discover -s test -p "*test.py"