mcqgam 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ # ALL
2
+ @RektPunk
@@ -0,0 +1,62 @@
1
+ name: Release to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*.*.*"
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build_wheels:
13
+ name: Build wheels on ${{ matrix.os }}
14
+ runs-on: ${{ matrix.os }}
15
+ strategy:
16
+ matrix:
17
+ os: [ubuntu-latest, windows-latest, macos-latest]
18
+
19
+ steps:
20
+ - uses: actions/checkout@v6
21
+
22
+ - name: Build wheels
23
+ uses: PyO3/maturin-action@v1
24
+ with:
25
+ command: build
26
+ args: --release --out dist
27
+ manylinux: auto
28
+ sccache: "true"
29
+
30
+ - name: Upload wheels
31
+ uses: actions/upload-artifact@v7
32
+ with:
33
+ name: wheels-${{ matrix.os }}
34
+ path: dist
35
+
36
+ publish:
37
+ name: Publish to PyPI
38
+ runs-on: ubuntu-latest
39
+ needs: [build_wheels]
40
+ steps:
41
+ - uses: actions/checkout@v6
42
+
43
+ - name: Download all wheels
44
+ uses: actions/download-artifact@v8
45
+ with:
46
+ path: dist
47
+ pattern: wheels-*
48
+ merge-multiple: true
49
+
50
+ - name: Build sdist
51
+ uses: PyO3/maturin-action@v1
52
+ with:
53
+ command: sdist
54
+ args: --out dist
55
+
56
+ - name: Publish to PyPI
57
+ uses: PyO3/maturin-action@v1
58
+ env:
59
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
60
+ with:
61
+ command: upload
62
+ args: --non-interactive --skip-existing dist/*
@@ -0,0 +1,43 @@
1
+ name: Rust CI
2
+
3
+ on:
4
+ pull_request:
5
+ types: [opened, reopened, synchronize]
6
+ paths:
7
+ - "src/**/*.rs"
8
+ - "tests/**/*.rs"
9
+ - "Cargo.toml"
10
+ - "Cargo.lock"
11
+ push:
12
+ branches:
13
+ - main
14
+ paths:
15
+ - "src/**/*.rs"
16
+ - "tests/**/*.rs"
17
+ - "Cargo.toml"
18
+ - "Cargo.lock"
19
+
20
+ env:
21
+ CARGO_TERM_COLOR: always
22
+
23
+ jobs:
24
+ quality-check:
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - uses: actions/checkout@v6
28
+ - name: Install Rust
29
+ uses: dtolnay/rust-toolchain@stable
30
+ with:
31
+ components: rustfmt, clippy
32
+
33
+ - name: Rust Cache
34
+ uses: Swatinem/rust-cache@v2
35
+
36
+ - name: Check Formatting
37
+ run: cargo fmt --check
38
+
39
+ - name: Run Clippy
40
+ run: cargo clippy -- -D warnings
41
+
42
+ - name: Run Tests
43
+ run: cargo test --verbose --release
@@ -0,0 +1,10 @@
1
+ /target
2
+ /.idea
3
+ /.venv
4
+
5
+ *.pyd
6
+ *.pdb
7
+ __pycache__
8
+ .DS_Store
9
+ .python-version
10
+ .ruff_cache