Skip to content

bump version to 2.6.1 [ci publish] #381

bump version to 2.6.1 [ci publish]

bump version to 2.6.1 [ci publish] #381

Workflow file for this run

name: Test Linux
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
# Skip running if the commit message contains '[ci skip]'
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
name: Build wheels - ${{ matrix.os }}-${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
arch: x64
- os: ubuntu-24.04-arm
arch: aarch64
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.12'
- name: install packages
run: sudo apt-get update && sudo apt-get install -y xorg-dev libglu1-mesa-dev xpra xserver-xorg-video-dummy freeglut3-dev
- name: install python packages
run: python3 -m pip install numpy ruff ty
- name: configure
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") -DPOLYSCOPE_BACKEND_OPENGL3_EGL=ON ..
- name: build
run: cd build && cmake --build . --parallel 4 # limit the number of jobs, it is running all and blowing up on CI machine
- name: run test backend mock
run: python3 test/polyscope_test.py -v --backend=openGL_mock
- name: run test backend EGL
run: python3 test/polyscope_test.py -v --backend=openGL3_egl
- name: run type checker (ty)
run: ty check .
continue-on-error: true # don't fail the whole job if this fails
- name: run linter (ruff)
run: ruff check .
continue-on-error: true # don't fail the whole job if this fails
- name: run format checker (ruff)
run: ruff format --check .
continue-on-error: true # don't fail the whole job if this fails