Skip to content
Snippets Groups Projects
Commit 28f181cd authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

CI support for linux sentry

parent 3bcba0b4
No related branches found
No related tags found
No related merge requests found
...@@ -138,6 +138,8 @@ variables: ...@@ -138,6 +138,8 @@ variables:
- .cache/pip - .cache/pip
- .venv - .venv
when: 'always' when: 'always'
variables:
USE_SENTRY: "TRUE"
before_script: before_script:
- virtualenv .venv -p python3 - virtualenv .venv -p python3
- source .venv/bin/activate - source .venv/bin/activate
...@@ -146,12 +148,20 @@ variables: ...@@ -146,12 +148,20 @@ variables:
- autobuild configure -c ReleaseOS -- -DUSE_FMODSTUDIO=ON -DUSE_NVAPI=ON -DUSE_LTO=ON -DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE - autobuild configure -c ReleaseOS -- -DUSE_FMODSTUDIO=ON -DUSE_NVAPI=ON -DUSE_LTO=ON -DDISABLE_FATAL_WARNINGS=ON -DREVISION_FROM_VCS=FALSE
- autobuild build -c ReleaseOS --no-configure - autobuild build -c ReleaseOS --no-configure
- autobuild graph -c ReleaseOS --graph-file alchemy-linuxs${AUTOBUILD_ADDRSIZE}-dependencies.svg - autobuild graph -c ReleaseOS --graph-file alchemy-linuxs${AUTOBUILD_ADDRSIZE}-dependencies.svg
- |
If ($env:USE_SENTRY -eq 'TRUE')
{
sentry-cli difutil bundle-sources build-linux-*/newview/alchemy-bin.debug
}
artifacts: artifacts:
name: "$env:CI_COMMIT_REF_NAME-$env:CI_COMMIT_SHORT_SHA" name: "$env:CI_COMMIT_REF_NAME-$env:CI_COMMIT_SHORT_SHA"
expire_in: 1 week expire_in: 1 week
paths: paths:
- build-linux-*/build_data.json - build-linux-*/build_data.json
- build-linux-*/newview/Alchemy_*.tar.xz - build-linux-*/newview/Alchemy_*.tar.xz
- build-linux-*/newview/alchemy-bin
- build-linux-*/newview/alchemy-bin.debug
- build-linux-*/newview/alchemy-bin.src.zip
- alchemy-*-dependencies.svg - alchemy-*-dependencies.svg
.win32_build: .win32_build:
...@@ -340,6 +350,11 @@ build:release:windows64: ...@@ -340,6 +350,11 @@ build:release:windows64:
Push-Location ./build-linux-64/newview/ Push-Location ./build-linux-64/newview/
$FileNameLnx64 = Get-ChildItem -Path . -Name -Include Alchemy_*.tar.xz $FileNameLnx64 = Get-ChildItem -Path . -Name -Include Alchemy_*.tar.xz
Invoke-WebRequest @UploadParams -InFile ./$FileNameLnx64 -Uri "${UploadDestURL}/${FileNameLnx64}" Invoke-WebRequest @UploadParams -InFile ./$FileNameLnx64 -Uri "${UploadDestURL}/${FileNameLnx64}"
If ($env:USE_SENTRY -eq 'TRUE')
{
sentry-cli upload-dif alchemy-bin alchemy-bin.debug alchemy-bin.src.zip
}
Pop-Location Pop-Location
Push-Location ./build-darwin-64/ Push-Location ./build-darwin-64/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment