-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
98 additions
and
60 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,8 @@ on: | |
tags: | ||
- "v[0-9]+.[0-9]+.[0-9]+" | ||
- "v[0-9]+.[0-9]+.[0-9]+-[0-9]+" | ||
branches: | ||
- test-sdist | ||
|
||
jobs: | ||
|
||
|
@@ -28,7 +30,7 @@ jobs: | |
|
||
- name: "Install python dependencies" | ||
run: | | ||
pip install setuptools | ||
pip install setuptools build | ||
- name: "Build source distribution" | ||
run: | | ||
|
@@ -41,59 +43,59 @@ jobs: | |
path: dist/ | ||
retention-days: 1 | ||
|
||
build_wheels: | ||
|
||
name: "Build wheels on ${{ matrix.os }}" | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu-22.04 | ||
- windows-2019 | ||
- macos-11 | ||
|
||
steps: | ||
|
||
- name: "Checkout the repository" | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: "Build wheels" | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_MACOS: x86_64 arm64 universal2 | ||
CIBW_SKIP: cp*-win32 | ||
|
||
- name: "Upload artifacts" | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels-${{ matrix.os }} | ||
path: ./wheelhouse/*.whl | ||
retention-days: 1 | ||
|
||
publish_pypi: | ||
|
||
name: "Publish packages on PyPI" | ||
runs-on: ubuntu-latest | ||
needs: | ||
- build_sdist | ||
- build_wheels | ||
|
||
steps: | ||
|
||
- name: "Download artifacts" | ||
uses: actions/download-artifact@v4 | ||
|
||
- name: "Move packages to the dist/ folder" | ||
run: | | ||
mkdir dist/ | ||
mv sdist/* dist/ | ||
mv wheels-*/*.whl dist/ | ||
- name: "Publish packages on PyPI" | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
# build_wheels: | ||
# | ||
# name: "Build wheels on ${{ matrix.os }}" | ||
# runs-on: ${{ matrix.os }} | ||
# | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# os: | ||
# - ubuntu-22.04 | ||
# - windows-2019 | ||
# - macos-11 | ||
# | ||
# steps: | ||
# | ||
# - name: "Checkout the repository" | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# submodules: true | ||
# | ||
# - name: "Build wheels" | ||
# uses: pypa/[email protected] | ||
# env: | ||
# CIBW_ARCHS_MACOS: x86_64 arm64 universal2 | ||
# CIBW_SKIP: cp*-win32 | ||
# | ||
# - name: "Upload artifacts" | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: wheels-${{ matrix.os }} | ||
# path: ./wheelhouse/*.whl | ||
# retention-days: 1 | ||
# | ||
# publish_pypi: | ||
# | ||
# name: "Publish packages on PyPI" | ||
# runs-on: ubuntu-latest | ||
# needs: | ||
# - build_sdist | ||
# - build_wheels | ||
# | ||
# steps: | ||
# | ||
# - name: "Download artifacts" | ||
# uses: actions/download-artifact@v4 | ||
# | ||
# - name: "Move packages to the dist/ folder" | ||
# run: | | ||
# mkdir dist/ | ||
# mv sdist/* dist/ | ||
# mv wheels-*/*.whl dist/ | ||
# | ||
# - name: "Publish packages on PyPI" | ||
# uses: pypa/gh-action-pypi-publish@release/v1 | ||
# with: | ||
# password: ${{ secrets.PYPI_API_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,44 @@ | ||
# YOGA Package | ||
include README.rst | ||
include LICENSE | ||
|
||
include assimp/CREDITS | ||
include assimp/LICENSE | ||
include assimp/Readme.md | ||
include yoga/model/assimp.h | ||
include yoga/model/_assimp.cpp | ||
include yoga/model/assimp.cpp | ||
|
||
# Assimp sources | ||
recursive-include assimp AUTHORS CREDITS | ||
recursive-include assimp README.* Readme.* readme.* README *info.txt README*.txt | ||
recursive-include assimp LICENSE License.txt license.txt UNLICENSE | ||
recursive-include assimp CMakeLists.txt *.in *.cmake *.cmakein *.ac *.am | ||
recursive-include assimp *.bor *.msc | ||
recursive-include assimp ChangeLog *Changes.txt | ||
recursive-include assimp *.rc | ||
recursive-include assimp *.c *.h *.cpp *.hpp *.cc *.inl *.included *.def *.S *.asm | ||
recursive-exclude assimp/build * | ||
recursive-exclude assimp/doc * | ||
recursive-exclude assimp/fuzz * | ||
recursive-exclude assimp/packaging * | ||
recursive-exclude assimp/port * | ||
recursive-exclude assimp/samples * | ||
recursive-exclude assimp/scripts * | ||
recursive-exclude assimp/test * | ||
recursive-exclude assimp/tools * | ||
recursive-exclude assimp/contrib/android-cmake * | ||
recursive-exclude assimp/contrib/draco/tools * | ||
recursive-exclude assimp/contrib/googletest * | ||
recursive-exclude assimp/contrib/googletest * | ||
recursive-exclude assimp/contrib/zip/test * | ||
|
||
# Repository "noise" | ||
global-exclude .git* | ||
global-exclude *.png | ||
recursive-exclude .github * | ||
recursive-exclude doc * | ||
recursive-exclude scripts * | ||
recursive-exclude test * | ||
recursive-exclude winbuild * | ||
exclude .flake8 | ||
exclude noxfile.py | ||
exclude requirements*.txt | ||
exclude RELEASE.rst |