try other python versions #171
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: Test C++ Stable-Retro code | |
# on: [pull_request] # push | |
# permissions: | |
# contents: read # to fetch code (actions/checkout) | |
# jobs: | |
# linux_build: | |
# runs-on: ubuntu-latest # todo, add more OS systems to see if they work as well | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: actions/setup-python@v4 | |
# with: | |
# python-version: 3.9 | |
# - name: Install system packages | |
# run: | | |
# sudo apt-get update | |
# sudo apt-get install git cmake capnproto zlib1g-dev build-essential pkg-config libzip-dev software-properties-common libbz2-dev python3-opengl | |
# - name: Install pip package and build tests | |
# run: | | |
# cmake . | |
# make -j | |
# make -f tests/Makefile | |
# - name: Run tests | |
# run: ctest --progress --verbose | |
# build_macos: | |
# runs-on: macos-14 | |
# strategy: | |
# matrix: | |
# python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: actions/setup-python@v4 | |
# with: | |
# python-version: ${{ matrix.python-version }} | |
# - name: Install system packages | |
# run: | | |
# brew install pkg-config libzip capnp cmake | |
# brew fetch [email protected] | |
# brew install "$(brew --cache [email protected])" | |
# - name: Install pip packages | |
# run: python3 -m pip install --upgrade pip pytest | |
# - name: Build package | |
# run: | | |
# export SDKROOT=$(xcrun --sdk macosx --show-sdk-path) | |
# python3 -m pip install -e . | |
# - name: Run tests | |
# run: | | |
# xvfb-run -s '-screen 0 1024x768x24' pytest |