Mentions légales du service

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

Update gitlab yml job and nsi script to generate API doc for each commit and...

Update gitlab yml job and nsi script to generate API doc for each commit and deliver it into Windows installer.
parent f62a277f
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ package_win:
- 'set SHA_START=%CI_COMMIT_SHA:~0,8%'
- if NOT EXIST build (mkdir build)
- cd build
- 'cmake -G "MinGW Makefiles" -DBUILD_WRAPPER_MATLAB=ON -DBUILD_WRAPPER_PYTHON=ON -DSLOW_TESTS=OFF -DCPACK_PACKAGE_VERSION=%SHA_START% -DCMAKE_INSTALL_PREFIX=win_pkg_build ..'
- 'cmake -G "MinGW Makefiles" -DBUILD_WRAPPER_MATLAB=ON -DBUILD_WRAPPER_PYTHON=ON -DSLOW_TESTS=OFF -DCPACK_PACKAGE_VERSION=%SHA_START% -DBUILD_DOCUMENTATION=ON -DEXCLUDE_FAUST_LIB_INSTALL=ON -DCMAKE_INSTALL_PREFIX=win_pkg_build ..'
- make
- makensis faust.nsi
artifacts:
......
......@@ -89,9 +89,9 @@ Page instfiles
Section "" ; no component so name not needed
CreateDirectory $INSTDIR\wrapper\matlab
CreateDirectory $INSTDIR\wrapper\python
CreateDirectory $INSTDIR\wrapper\doc
CreateDirectory $INSTDIR\matlab
CreateDirectory $INSTDIR\python
CreateDirectory $INSTDIR\doc\html
; install python wrapper
SetOutPath $INSTDIR\python
......@@ -158,7 +158,11 @@ Section "" ; no component so name not needed
continue:
ExecShell open "http://faust.inria.fr" ;TODO: replace by local doc page
; install the doc
SetOutPath $INSTDIR\doc\html
File @PROJECT_BINARY_DIR@\doc\html\*
ExecShell open "file:///$INSTDIR/doc/html/index.html"
SectionEnd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment