Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alchemy
Third Party
3p-sdl2
Commits
24337073
Commit
24337073
authored
Sep 20, 2020
by
Rye Mutt
🍞
Browse files
Add CI template files
parent
b7d525cb
Pipeline
#392
passed with stages
in 1 minute and 59 seconds
Changes
2
Pipelines
5
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
24337073
stages
:
-
build
-
deploy
variables
:
AUTOBUILD_PACKAGE_DIR
:
sdl2
AUTOBUILD_PACKAGE_NAME
:
sdl2
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}"
Pipfile
0 → 100644
View file @
24337073
[[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"
Write
Preview
Supports
Markdown
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