Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add github prebuild workflow after new release. #1852

Merged
merged 38 commits into from
Mar 23, 2023

Conversation

irexyc
Copy link
Collaborator

@irexyc irexyc commented Mar 8, 2023

Motivation

the prebuild ci pipeline will be triggered when a pr is merged and the file mmdeploy/version.py changed.

it will generate files in this format:

├── mmdeploy
│   └── mmdeploy-1.0.0rc3-py3-none-manylinux2014_x86_64.whl
├── mmdeploy_python
│   ├── mmdeploy_python-1.0.0rc3-cp310-none-manylinux2014_x86_64.whl
│   ├── mmdeploy_python-1.0.0rc3-cp36-none-manylinux2014_x86_64.whl
│   ├── mmdeploy_python-1.0.0rc3-cp37-none-manylinux2014_x86_64.whl
│   ├── mmdeploy_python-1.0.0rc3-cp38-none-manylinux2014_x86_64.whl
│   ├── mmdeploy_python-1.0.0rc3-cp39-none-manylinux2014_x86_64.whl
│   ├── mmdeploy_python_gpu-1.0.0rc3-cp310-none-manylinux2014_x86_64.whl
│   ├── mmdeploy_python_gpu-1.0.0rc3-cp36-none-manylinux2014_x86_64.whl
│   ├── mmdeploy_python_gpu-1.0.0rc3-cp37-none-manylinux2014_x86_64.whl
│   ├── mmdeploy_python_gpu-1.0.0rc3-cp38-none-manylinux2014_x86_64.whl
│   └── mmdeploy_python_gpu-1.0.0rc3-cp39-none-manylinux2014_x86_64.whl
└── sdk
    ├── mmdeploy-1.0.0rc3-linux-x86_64-cpu
    │   ├── build_sdk.sh
    │   ├── example
    │   ├── include
    │   ├── install_opencv.sh
    │   ├── lib
    │   ├── set_env.sh
    │   └── thirdparty
    └── mmdeploy-1.0.0rc3-linux-x86_64-cuda11.3
        ├── build_sdk.sh
        ├── example
        ├── include
        ├── install_opencv.sh
        ├── lib
        ├── README.md
        ├── set_env.sh
        └── thirdparty

@irexyc irexyc requested a review from lvhan028 March 8, 2023 09:51
@lvhan028 lvhan028 added the enhancement New feature or request label Mar 9, 2023
Copy link
Collaborator

@RunningLeon RunningLeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lvhan028
Copy link
Collaborator

Please fix lint error

@lvhan028 lvhan028 merged commit a14177c into open-mmlab:dev-1.x Mar 23, 2023
irexyc added a commit to irexyc/mmdeploy that referenced this pull request Mar 23, 2023
…b#1852)

* add prebuild dockerfile

* add prebuild test workflw

* update

* update

* rm other workflow for test

* Update docker image

* add win1o prebuild

* add test prebuild

* add windows scripts in prebuilt package

* add linux scripts in prebuilt package

* generate_build_config.py

* fix cudnn search

* fix env

* fix script

* fix rpath

* fix cwd

* fix windows

* fix lint

* windows prebuild ci

* linux prebuild ci

* fix

* update trigger

* Revert "rm other workflow for test"

This reverts commit 0a03872.

* update sdk build readme

* update prebuild

* fix dll deps for python >= 3.8 on windows

* fix ci

* test prebuild

* update test script to avoid modify upload folder

* add onnxruntime.dll to mmdeploy_python

* update prebuild workflow

* update prebuild

* Update loader.cpp.in

* remove exists prebuild files

* fix opencv env

* update cmake options for mmdeploy python build

* remove test code

* fix lint

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
Co-authored-by: RunningLeon <maningsheng@sensetime.com>
lvhan028 pushed a commit that referenced this pull request Mar 29, 2023
* [Feature]: Add github prebuild workflow after new release. (#1852)

* add prebuild dockerfile

* add prebuild test workflw

* update

* update

* rm other workflow for test

* Update docker image

* add win1o prebuild

* add test prebuild

* add windows scripts in prebuilt package

* add linux scripts in prebuilt package

* generate_build_config.py

* fix cudnn search

* fix env

* fix script

* fix rpath

* fix cwd

* fix windows

* fix lint

* windows prebuild ci

* linux prebuild ci

* fix

* update trigger

* Revert "rm other workflow for test"

This reverts commit 0a03872.

* update sdk build readme

* update prebuild

* fix dll deps for python >= 3.8 on windows

* fix ci

* test prebuild

* update test script to avoid modify upload folder

* add onnxruntime.dll to mmdeploy_python

* update prebuild workflow

* update prebuild

* Update loader.cpp.in

* remove exists prebuild files

* fix opencv env

* update cmake options for mmdeploy python build

* remove test code

* fix lint

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
Co-authored-by: RunningLeon <maningsheng@sensetime.com>

* rename mmdeploy_python -> mmdeploy_runtime

* test master prebuild

* fix trt net build

* Revert "test master prebuild"

This reverts commit aad5258.

* add master branch

* fix linux set_env script

* update package_tools docs

* fix gcc 7.3 aligned_alloc

* comment temporarily as text_det_recog can't be built with prebuild package built under manylinux

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
Co-authored-by: RunningLeon <maningsheng@sensetime.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants