Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a08c510f authored by hhakim's avatar hhakim
Browse files

Add ci jobs for pyfaust egg/wheel revision packages generation.

Relate to issue #73.
parent a97e62c2
No related branches found
No related tags found
No related merge requests found
...@@ -86,6 +86,36 @@ package_macos: ...@@ -86,6 +86,36 @@ package_macos:
- schedules - schedules
- tags - tags
.package_purepy: &package_purepy
stage: package_rev
script:
- SHA_START=$(echo $CI_COMMIT_SHA | sed -e 's/^\(.\{8\}\).*/\1/')
- if [[ ! -d 'build' ]]; then mkdir build;fi; cd build
- 'cmake -DBUILD_WRAPPER_PYTHON=ON -DBUILD_WRAPPER_MATLAB=OFF -DBUILD_DOCUMENTATION=ON -DCPACK_PACKAGE_VERSION=$SHA_START -DCMAKE_INSTALL_PREFIX=/opt/local/faust-$SHA_START -DBUILD_TESTING=OFF ..'
- make
- cd wrapper/python
- python3 setup.py bdist_wheel
- python3 setup.py bdist_egg
- python2 setup.py bdist_wheel
- python2 setup.py bdist_egg
artifacts:
paths:
- build/wrapper/python/dist
expire_in: '1 week'
except:
- schedules
- tags
package_macos_purepy:
<<: *package_purepy
tags:
- macos
package_linux_purepy:
<<: *package_purepy
tags:
- linux
package_win: package_win:
stage: package_rev stage: package_rev
script: script:
...@@ -126,8 +156,6 @@ package_linux: ...@@ -126,8 +156,6 @@ package_linux:
- schedules - schedules
- tags - tags
# jobs triggered by git tag can force cpack to use the tag name as version but it's not necessary for MacOSX (not using cpack for that sys.) # jobs triggered by git tag can force cpack to use the tag name as version but it's not necessary for MacOSX (not using cpack for that sys.)
# it's done for linux packages # it's done for linux packages
...@@ -210,6 +238,8 @@ package_linux_release_static: ...@@ -210,6 +238,8 @@ package_linux_release_static:
only: only:
- tags - tags
pages: pages:
script: script:
- if [[ ! -d 'build' ]]; then mkdir build;fi; cd build - if [[ ! -d 'build' ]]; then mkdir build;fi; cd build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment