Skip to content

WIP

WIP #3

Workflow file for this run

name: Test
on:
pull_request:
push:
jobs:
build:
name: ${{ matrix.platform.os }} / ${{ matrix.platform.target_platform }} / ${{ matrix.python_version }}
runs-on: ${{ matrix.platform.os }}
timeout-minutes: 30
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
python_version: ["3.9", "3.12"]
platform:
- { os: "macos-14", target_platform: arm-64 }
- { os: "macos-13", target_platform: osx-64 }
- { os: "ubuntu-22.04", target_platform: linux-64 }
- { os: "windows-2022", target_platform: win-64 }
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
cache: "pip"
cache-dependency-path: "**/requirements*.txt"
- run: pip install -r environment/configuration/requirements.txt -r environment/configuration/requirements-dev.txt
- name: Test
run: |
mkdir build
cd build
cmake -S .. -G Ninja
ninja test