Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
3
3p-libepoxy
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Third Party
3p-libepoxy
Commits
a1d27c81
Commit
a1d27c81
authored
4 years ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Update to template CI config with registry
parent
47539c78
No related branches found
No related tags found
No related merge requests found
Pipeline
#551
passed
4 years ago
Stage: build
Stage: deploy
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+3
-66
3 additions, 66 deletions
.gitlab-ci.yml
Pipfile
+0
-14
0 additions, 14 deletions
Pipfile
build-cmd.sh
+1
-3
1 addition, 3 deletions
build-cmd.sh
with
4 additions
and
83 deletions
.gitlab-ci.yml
+
3
−
66
View file @
a1d27c81
stages
:
-
build
-
deploy
variables
:
AUTOBUILD_PACKAGE_DIR
:
libepoxy
AUTOBUILD_PACKAGE_NAME
:
libepoxy
AUTOBUILD_BUILD_ID
:
$CI_PIPELINE_ID
build:windows
:
stage
:
build
tags
:
-
autobuild
-
windows
before_script
:
-
pipenv install
script
:
-
pipenv run autobuild install -A32
-
pipenv run autobuild build -A32
-
pipenv run autobuild package -A32
artifacts
:
paths
:
-
${env:AUTOBUILD_PACKAGE_NAME}-*windows*.tar.bz2
build:windows64
:
stage
:
build
tags
:
-
autobuild
-
windows
before_script
:
-
pipenv install
script
:
-
pipenv run autobuild install -A64
-
pipenv run autobuild build -A64
-
pipenv run autobuild package -A64
artifacts
:
paths
:
-
${env:AUTOBUILD_PACKAGE_NAME}-*windows64*.tar.bz2
build:linux64
:
stage
:
build
image
:
r.alchemyviewer.org/alchemy/infrastructure/debian-build-image:latest
tags
:
-
linux
-
docker
script
:
-
autobuild install -A64
-
autobuild build -A64
-
autobuild package -A64
artifacts
:
paths
:
-
$AUTOBUILD_PACKAGE_NAME-*linux64*.tar.bz2
deploy:nexus
:
stage
:
deploy
tags
:
-
autobuild
-
windows
when
:
manual
script
:
-
$FileNameLnx64 = Get-ChildItem -Path . -Name -Include ${env:AUTOBUILD_PACKAGE_NAME}-*-linux64-${env:AUTOBUILD_BUILD_ID}*.tar.bz2
-
curl.exe -v --user "${env:AUTOBUILD_HTTP_USER}:${env:AUTOBUILD_HTTP_PASS}" --upload-file .\$FileNameLnx64 "https://pkg.alchemyviewer.org/repository/autobuild-external/${env:AUTOBUILD_PACKAGE_DIR}/linux64/${FileNameLnx64}"
-
$FileNameWin32 = Get-ChildItem -Path . -Name -Include ${env:AUTOBUILD_PACKAGE_NAME}-*-windows-${env:AUTOBUILD_BUILD_ID}*.tar.bz2
-
curl.exe -v --user "${env:AUTOBUILD_HTTP_USER}:${env:AUTOBUILD_HTTP_PASS}" --upload-file .\$FileNameWin32 "https://pkg.alchemyviewer.org/repository/autobuild-external/${env:AUTOBUILD_PACKAGE_DIR}/windows/${FileNameWin32}"
-
$FileNameWin64 = Get-ChildItem -Path . -Name -Include ${env:AUTOBUILD_PACKAGE_NAME}-*-windows64-${env:AUTOBUILD_BUILD_ID}*.tar.bz2
-
curl.exe -v --user "${env:AUTOBUILD_HTTP_USER}:${env:AUTOBUILD_HTTP_PASS}" --upload-file .\$FileNameWin64 "https://pkg.alchemyviewer.org/repository/autobuild-external/${env:AUTOBUILD_PACKAGE_DIR}/windows64/${FileNameWin64}"
include
:
-
project
:
'
alchemy/infrastructure/gitlab-ci-config'
file
:
'
3p-library.yml'
This diff is collapsed.
Click to expand it.
Pipfile
deleted
100644 → 0
+
0
−
14
View file @
47539c78
[[source]]
url
=
"https://pypi.org/simple"
verify_ssl
=
true
name
=
"pypi"
[dev-packages]
[packages]
llbase
=
"*"
certifi
=
"*"
autobuild
=
{
git
=
"https://git.alchemyviewer.org/alchemy/autobuild.git"
}
[requires]
python_version
=
"2.7"
This diff is collapsed.
Click to expand it.
build-cmd.sh
+
1
−
3
View file @
a1d27c81
...
...
@@ -34,8 +34,6 @@ EPOXY_SOURCE_DIR="$top/libepoxy"
VERSION_HEADER_FILE
=
"
$EPOXY_SOURCE_DIR
/_build_release/src/config.h"
build
=
${
AUTOBUILD_BUILD_ID
:
=0
}
# Create the staging folders
mkdir
-p
"
$stage
/lib"
/
{
debug,release,relwithdebinfo
}
mkdir
-p
"
$stage
/include/epoxy"
...
...
@@ -142,4 +140,4 @@ version=`sed -n -E 's/#define PACKAGE_VERSION "([0-9])[.]([0-9])[.]([0-9]).*/\1.
short
=
"
$(
echo
$version
|
cut
-d
"."
-f1-2
)
"
shortver
=
"
${
short
//.
}
"
echo
"
${
version
}
.
${
build
}
"
>
"
${
stage
}
/VERSION.txt"
echo
"
${
version
}
"
>
"
${
stage
}
/VERSION.txt"
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