Initial commit

This commit is contained in:
Hal 2025-01-06 01:26:03 +08:00 committed by GitHub
commit b1a1a6866d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 495 additions and 0 deletions

35
.github/workflows/mr-test.yml vendored Normal file
View file

@ -0,0 +1,35 @@
name: MR Checks
on: [ pull_request ]
jobs:
python-check:
strategy:
max-parallel: 3
matrix:
target:
- os: 'ubuntu-22.04'
triple: 'x86_64-unknown-linux-gnu'
- os: 'macos-12'
triple: 'x86_64-apple-darwin'
- os: 'windows-2022'
triple: 'x86_64-pc-windows-msvc'
python-version: ["3.10"]
fail-fast: false
runs-on: ${{ matrix.target.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -r requirements-dev.txt
poetry --version
- name: lint
run: |
nox -s lint
- name: test build
run: |
nox -s build-exe -- --test