Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
3
3p-zlib
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Alchemy
Third Party
3p-zlib
Commits
fdd8f101
Commit
fdd8f101
authored
Oct 25, 2020
by
Rye Mutt
🍞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change to templated CI config and change version to be compliant with our policy
parent
dc993573
Pipeline
#526
passed with stages
in 1 minute and 12 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
71 deletions
+4
-71
.gitlab-ci.yml
.gitlab-ci.yml
+3
-70
build-cmd.sh
build-cmd.sh
+1
-1
No files found.
.gitlab-ci.yml
View file @
fdd8f101
stages
:
-
build
-
deploy
variables
:
AUTOBUILD_PACKAGE_DIR
:
zlib
AUTOBUILD_PACKAGE_NAME
:
zlib
AUTOBUILD_BUILD_ID
:
$CI_PIPELINE_ID
build:windows:
stage
:
build
tags
:
-
autobuild
-
windows
before_script
:
-
virtualenv .venv
-
.\.venv\Scripts\activate.ps1
-
pip install autobuild -i https://pkg.alchemyviewer.org/repository/autobuild/simple
script
:
-
autobuild install -A32
-
autobuild build -A32
-
autobuild package -A32
artifacts
:
paths
:
-
${env:AUTOBUILD_PACKAGE_NAME}-*windows*.tar.bz2
build:windows64:
stage
:
build
tags
:
-
autobuild
-
windows
before_script
:
-
virtualenv .venv
-
.\.venv\Scripts\activate.ps1
-
pip install autobuild -i https://pkg.alchemyviewer.org/repository/autobuild/simple
script
:
-
autobuild install -A64
-
autobuild build -A64
-
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}"
\ No newline at end of file
include
:
-
project
:
'
alchemy/infrastructure/gitlab-ci-config'
file
:
'
3p-library.yml'
build-cmd.sh
View file @
fdd8f101
...
...
@@ -30,7 +30,7 @@ source_environment_tempfile="$stage/source_environment.sh"
VERSION_HEADER_FILE
=
"
$ZLIB_SOURCE_DIR
/zlib.h"
version
=
$(
sed
-n
-E
's/#define ZLIB_VERSION "([0-9.]+)"/\1/p'
"
${
VERSION_HEADER_FILE
}
"
)
build
=
${
AUTOBUILD_BUILD_ID
:
=0
}
echo
"
${
version
}
.
${
build
}
"
>
"
${
stage
}
/VERSION.txt"
echo
"
${
version
}
"
>
"
${
stage
}
/VERSION.txt"
pushd
"
$ZLIB_SOURCE_DIR
"
case
"
$AUTOBUILD_PLATFORM
"
in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment