Don't call PyEval_InitThreads() on Python 3.7+ #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies (Ubuntu) | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt install -y \ | |
python3-dev \ | |
qt5-qmake qtbase5-dev qtdeclarative5-dev libqt5svg5-dev | |
- name: Install dependencies (macOS) | |
if: matrix.os == 'macos-latest' | |
run: | | |
brew install qt@5 python@3.12 | |
echo PATH=/opt/homebrew/opt/qt@5/bin:/usr/local/opt/qt@5/bin:$PATH >> ${GITHUB_ENV} | |
- run: qmake | |
- run: make | |
- run: env QT_QPA_PLATFORM=offscreen tests/tests |