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
Branches
Tags
No related merge requests found
...@@ -90,7 +90,7 @@ package_win: ...@@ -90,7 +90,7 @@ package_win:
- 'set SHA_START=%CI_COMMIT_SHA:~0,8%' - 'set SHA_START=%CI_COMMIT_SHA:~0,8%'
- if NOT EXIST build (mkdir build) - if NOT EXIST build (mkdir build)
- cd 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 - make
- makensis faust.nsi - makensis faust.nsi
artifacts: artifacts:
......
...@@ -89,9 +89,9 @@ Page instfiles ...@@ -89,9 +89,9 @@ Page instfiles
Section "" ; no component so name not needed Section "" ; no component so name not needed
CreateDirectory $INSTDIR\wrapper\matlab CreateDirectory $INSTDIR\matlab
CreateDirectory $INSTDIR\wrapper\python CreateDirectory $INSTDIR\python
CreateDirectory $INSTDIR\wrapper\doc CreateDirectory $INSTDIR\doc\html
; install python wrapper ; install python wrapper
SetOutPath $INSTDIR\python SetOutPath $INSTDIR\python
...@@ -158,7 +158,11 @@ Section "" ; no component so name not needed ...@@ -158,7 +158,11 @@ Section "" ; no component so name not needed
continue: 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 SectionEnd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment