Skip to content

Benchmark (Single)

Benchmark (Single) #7

name: Benchmark (Single)
on: [workflow_dispatch]
jobs:
build_and_test_p37:
name: "${{ matrix.os }} + python ${{ matrix.python-version }}"
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
# os: ["windows-latest", "ubuntu-22.04", "ubuntu-24.04-arm", "macos-13"]
os: ["windows-latest", "ubuntu-22.04", "macos-13"]
python-version: ["3.7"]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install lapx from source
run: pip install git+https://github.com/rathaROG/lapx.git
- name: Install scipy
run: pip install scipy
- name: 📊 Run benchmark_single.py
run: |
cd benchmarks
python benchmark_single.py
build_and_test_p38_p314:
name: "${{ matrix.os }} + python ${{ matrix.python-version }}"
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
os: ["windows-latest", "ubuntu-latest", "ubuntu-24.04-arm", "macos-13", "macos-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install lapx from source
run: pip install git+https://github.com/rathaROG/lapx.git
- name: Install scipy
run: pip install scipy
- name: 📊 Run benchmark_single.py
run: |
cd benchmarks
python benchmark_single.py
# ##############################################################################
# SciPy is not yet available for Windows ARM
# ##############################################################################
# build_and_test_win_arm_p311_p313:
# name: "${{ matrix.os }} + python ${{ matrix.python-version }}"
# runs-on: "${{ matrix.os }}"
# strategy:
# fail-fast: false
# matrix:
# os: ["windows-11-arm"]
# python-version: ["3.11", "3.12", "3.13", "3.14"]
# steps:
# - uses: actions/checkout@v5
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install lapx from source
# run: pip install git+https://github.com/rathaROG/lapx.git
# - name: Install scipy
# run: pip install scipy
# - name: 📊 Run benchmark_single.py
# run: |
# cd benchmarks
# python benchmark_single.py
# ##############################################################################