将plane直接写入np缓冲区以减少开销 #46
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: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build distribution for Python ${{ matrix.python-version }} windows_x64 | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install pypa/build | |
run: python -m pip install -r requirements_dev.txt --user | |
- name: Build a binary wheel and a source tarball | |
run: git clone https://github.com/strukturag/libde265.git && | |
cd libde265 && | |
mkdir build && | |
cd build && | |
cmake .. && | |
cmake --build . --config Release && | |
cd .. && | |
cd .. && | |
python -m build | |
- name: Store the distribution packages | |
uses: actions/upload-artifact@v4 | |
with: | |
name: python-package-distributions-${{ matrix.python-version }} | |
path: dist/ |