improve gitlab pages : link to source package and windows installers

This commit is contained in:
Thomas Bernard
2019-01-30 16:23:10 +01:00
parent 06cfc802d4
commit ba82473ccc
3 changed files with 46 additions and 1 deletions

View File

@@ -12,17 +12,20 @@ job_linux:
- "make -j3 && make ziprelease"
- "API=sdl2 make -j3 && API=sdl2 make ziprelease"
- "make docarchive"
- "echo $CI_JOB_ID > LINUX_JOB_ID"
artifacts:
paths:
- "*.zip"
- "grafx2*.tgz"
- "VERSION"
- "LINUX_JOB_ID"
pages:
stage: pages
script:
- "NOLUA=1 API=x11 make htmldoc"
- "mkdir -p public/htmldoc && cp doc/html/* public/htmldoc/"
- "echo -e '<DOCTYPE html>\n<html><head><title>GrafX2</title></head>\n<body>\n<ul>\n<li><a href=\"doxygen/html/\">doxygen</a></li>\n<li><a href=\"htmldoc/\">htmldoc</a></li>\n</ul>\n</body>\n</html>\n' > public/index.html"
- "./.gitlab-page.sh"
- "cd public && tar xzf ../grafx2*doxygen.tgz"
artifacts:
paths:
@@ -48,7 +51,9 @@ job_win32:
- "WIN32CROSS=1 API=sdl2 make -j2"
- "WIN32CROSS=1 API=sdl2 make ziprelease"
- "WIN32CROSS=1 API=sdl2 make win32installer"
- "echo $CI_JOB_ID > WIN32_JOB_ID"
artifacts:
paths:
- "*.zip"
- "install/grafx2*.exe"
- "WIN32_JOB_ID"