Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cuteLib-hsrt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Glaser
cuteLib-hsrt
Commits
f59b4fbf
Commit
f59b4fbf
authored
1 week ago
by
tobiglaser
Browse files
Options
Downloads
Patches
Plain Diff
added Doxygen to gitlab-ci
parent
03440d89
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-1
9 additions, 1 deletion
.gitlab-ci.yml
with
9 additions
and
1 deletion
.gitlab-ci.yml
+
9
−
1
View file @
f59b4fbf
...
...
@@ -37,6 +37,7 @@ Windows-MSYS2-MINGW64:
C:\msys64\usr\bin\bash -lcx '
pacman --noconfirm -Syu mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake
pacman --noconfirm -Syu mingw-w64-x86_64-qt5-static
pacman --noconfirm -Syu mingw-w64-x86_64-doxygen mingw-w64-x86_64-graphviz
pacman --noconfirm -Syu zip'
-
|
# Building
C:\msys64\usr\bin\bash -lcx '
...
...
@@ -44,6 +45,7 @@ Windows-MSYS2-MINGW64:
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
cmake --build . --target cute
cmake --build . --target doc_doxygen
ls -lh
cd ..'
-
|
# Collecting all Files and zipping them
...
...
@@ -59,10 +61,13 @@ Windows-MSYS2-MINGW64:
mv .clang-format template/
mv .gitignore template/
zip -r template-windows.zip template/
zip -r doxygen.zip doxygen/
'
# Uploading the zip to the Package Registry
-
$URL = "${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/generic/cutelib-hsrt/$CI_COMMIT_TAG/template-windows.zip"
-
Invoke-WebRequest -Uri $URL -Method Put -Headers @{ "JOB-TOKEN" = "$CI_JOB_TOKEN" } -InFile "template-windows.zip" -UseBasicParsing
-
$URL = "${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/generic/cutelib-hsrt/$CI_COMMIT_TAG/doxygen.zip"
-
Invoke-WebRequest -Uri $URL -Method Put -Headers @{ "JOB-TOKEN" = "$CI_JOB_TOKEN" } -InFile "doxygen.zip" -UseBasicParsing
# Automatically publishing a new Release with the files Uploaded to the Package Registry.
# The Release may be edited manually under gitlab -> project -> deploy -> releases.
...
...
@@ -76,12 +81,15 @@ Publish:
release
:
name
:
"
Release
$CI_COMMIT_TAG"
tag_name
:
"
$CI_COMMIT_TAG"
description
:
"
Automated
release
including
Windows
builds."
# & Linux
description
:
"
Automated
release
including
Windows
builds
and
Doxygen
documentation
."
# & Linux
assets
:
links
:
-
name
:
"
Windows
Template"
link_type
:
package
url
:
"
${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/generic/cutelib-hsrt/$CI_COMMIT_TAG/template-windows.zip"
-
name
:
"
Doxygen"
link_type
:
other
url
:
"
${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/generic/cutelib-hsrt/$CI_COMMIT_TAG/doxygen.zip"
#- name: "Linux Template"
# link_type: package
# url: "${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/generic/cutelib-hsrt/$CI_COMMIT_TAG/template-linux.zip"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment