Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
XDG Integration
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
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
JennaHuntsman
XDG Integration
Commits
8134c7ca
Commit
8134c7ca
authored
1 year ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Beat CI script with a hammer
parent
8ad75353
No related branches found
No related tags found
2 merge requests
!3
Update to main branch
,
!2
Rebase onto current main branch
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+14
-9
14 additions, 9 deletions
.gitlab-ci.yml
with
14 additions
and
9 deletions
.gitlab-ci.yml
+
14
−
9
View file @
8134c7ca
...
...
@@ -21,30 +21,36 @@ variables:
-
"
FALSE"
-
"
TRUE"
description
:
"
Are
package
registry
uploads
public?.
Set
to
'TRUE'
by
default"
USE_SENTRY
:
ENABLE_TESTS
:
value
:
"
TRUE"
options
:
-
"
FALSE"
-
"
TRUE"
description
:
"
Enable
Sentry
crash
reporting.
Set
to
'TRUE'
by
default."
USE_DISCORD
:
description
:
"
Enable
Discord
integrations.
Set
to
'TRUE'
by
default."
ENABLE_LTO
:
value
:
"
TRUE"
options
:
-
"
FALSE"
-
"
TRUE"
description
:
"
Enable
Discord
integr
ation
s
.
Set
to
'TRUE'
by
default."
description
:
"
Enable
Link
Time
Optimiz
ation.
Set
to
'TRUE'
by
default."
USE_HAVOK
:
value
:
"
TRUE"
options
:
-
"
FALSE"
-
"
TRUE"
description
:
"
Enable
Havok
integrations.
Set
to
'TRUE'
by
default."
USE_LTO
:
USE_SENTRY
:
value
:
"
TRUE"
options
:
-
"
FALSE"
-
"
TRUE"
description
:
"
Enable
Sentry
crash
reporting.
Set
to
'TRUE'
by
default."
USE_DISCORD
:
value
:
"
TRUE"
options
:
-
"
FALSE"
-
"
TRUE"
description
:
"
Enable
Link
Time
Optimization.
Set
to
'TRUE'
by
default."
AUTOBUILD_BUILD_ID
:
$CI_PIPELINE_ID
AUTOBUILD_GITLAB_TOKEN
:
$CI_JOB_TOKEN
AUTOBUILD_INSTALLABLE_CACHE
:
"
$CI_PROJECT_DIR/.cache/autobuild"
...
...
@@ -69,7 +75,7 @@ variables:
-
.\.venv\Scripts\Activate.ps1
-
pip install --upgrade llbase autobuild certifi sentry-cli cmake
script
:
-
autobuild configure -c Release -- -DUSE_LTO="${
US
E_LTO}" -DHAVOK_TPV="${USE_HAVOK}" -DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE -DENABLE_DELTA_GEN=ON
-
autobuild configure -c Release -- -DUSE_LTO="${
ENABL
E_LTO}" -DHAVOK_TPV="${USE_HAVOK}"
-DLL_TESTS="${ENABLE_TESTS}"
-DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE -DENABLE_DELTA_GEN=ON
-
autobuild build -c Release --no-configure
-
autobuild graph -c Release --graph-file "alchemy-windows${AUTOBUILD_ADDRSIZE}-dependencies.svg" build-vc-64/autobuild-package.xml
-
$AlchemyPdbPath = Resolve-Path build-vc-*/newview/Release/Alchemy*.pdb
...
...
@@ -109,7 +115,7 @@ variables:
-
source .venv/bin/activate
-
pip3 install --upgrade llbase autobuild dmgbuild certifi sentry-cli cmake
script
:
-
autobuild configure -c Release -- -DENABLE_SIGNING=ON -DUSE_LTO=${
US
E_LTO} -DHAVOK_TPV=${USE_HAVOK} -DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE
-
autobuild configure -c Release -- -DENABLE_SIGNING=ON -DUSE_LTO=${
ENABL
E_LTO} -DHAVOK_TPV=${USE_HAVOK}
-DLL_TESTS="${ENABLE_TESTS}"
-DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE
-
autobuild build -c Release --no-configure
-
autobuild graph -c Release --graph-file alchemy-darwin${AUTOBUILD_ADDRSIZE}-dependencies.svg build-darwin-64/autobuild-package.xml
-
if [ "$USE_SENTRY" = "TRUE" ]; then sentry-cli difutil bundle-sources build-darwin-*/newview/Release/*.app.dSYM/Contents/Resources/DWARF/*; fi
...
...
@@ -151,7 +157,7 @@ variables:
-
source .venv/bin/activate
-
pip3 install --upgrade llbase autobuild certifi sentry-cli cmake ninja
script
:
-
autobuild configure -c Release -- -DUSE_LTO=OFF -DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE -DCOMPRESS_DEBUG=ON
-
autobuild configure -c Release -- -DUSE_LTO=OFF
-DLL_TESTS="${ENABLE_TESTS}"
-DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE -DCOMPRESS_DEBUG=ON
-
autobuild build -c Release --no-configure
-
autobuild graph -c Release --graph-file alchemy-linuxs${AUTOBUILD_ADDRSIZE}-dependencies.svg build-linux-${AUTOBUILD_ADDRSIZE}/autobuild-package.xml
-
if [ "$USE_SENTRY" = "TRUE" ]; then sentry-cli difutil bundle-sources build-linux-*/newview/alchemy-bin; fi
...
...
@@ -435,7 +441,6 @@ build:release:windows64:
-
If ($env:USE_SENTRY -eq 'TRUE') { sentry-cli upload-dif newview/Release/ packages/ }
-
Pop-Location
-
If ($env:USE_SENTRY -eq 'TRUE') { sentry-cli releases finalize $BuildChannelVersion }
-
Write-Output "Deploy Success!"
-
Write-Output "Package Listing > https://git.alchemyviewer.org/alchemy/alchemy-next/-/packages/$($WinUploadResult.package_id)"
-
Write-Output "Windows Package > ${WinPackageUrl}"
-
Write-Output "macOS Package > ${MacPackageUrl}"
...
...
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