Skip to content

use QOpenGLWidget for Qt6 #98

use QOpenGLWidget for Qt6

use QOpenGLWidget for Qt6 #98

name: lint-build-test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build_n_lint:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 9
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
name: Checkout
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: "3.11"
- name: install conda build
run: |
conda install conda-build
- if: matrix.os == 'ubuntu-latest'
name: Lint with flake8
run: |
conda install flake8
sudo apt-get install freeglut3 freeglut3-dev
sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib64
${CONDA}/bin/flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics --exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,scons,SoPyScript
- name: create package with conda
run: |
cd packaging;
conda build . -c conda-forge --python=${{ matrix.python-version }}