Compare commits

..

6 Commits

Author SHA1 Message Date
Rye Mutt
7709a275d6 Update FMOD 2022-09-30 23:58:50 -04:00
Your Name
ca7ea4a541 Correctly use Python2 2021-07-18 15:33:42 -04:00
Liru Færs
e6dc4d404f Don't forget to upload the 32-bit build! 2021-02-18 23:22:20 -05:00
Liru Færs
33cdb8a01f Make a function for trying to upload a platform's build 2021-02-18 23:08:00 -05:00
Liru Færs
dfcdb6ba09 Make gitlab ci work even if there's no linux build 2021-02-14 17:15:37 -05:00
Liru Færs
ae244983b0 Nope, this was broken, woops!~ 2021-02-14 14:36:45 -05:00
24 changed files with 59 additions and 74 deletions

View File

@@ -224,20 +224,27 @@ build:release:windows64:
Authorization = "Basic $([System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("$env:AUTOBUILD_HTTP_USER`:$env:AUTOBUILD_HTTP_PASS")))"; }; Authorization = "Basic $([System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("$env:AUTOBUILD_HTTP_USER`:$env:AUTOBUILD_HTTP_PASS")))"; };
Verbose = $true; }; Verbose = $true; };
Push-Location .\build-linux-64\newview\ Function try_upload($build_type, $file_pattern)
$FileNameLnx64 = Get-ChildItem -Path . -Name -Include Singularity_*.tar.xz {
Invoke-WebRequest @UploadParams -InFile .\$FileNameLnx64 -Uri "${UploadDestURL}/${FileNameLnx64}" $build_newview = ".\build-${build_type}\newview\"
Pop-Location If (Test-Path -LiteralPath $build_newview)
Push-Location .\build-vc-64\newview\Release\
$FileNameWin64 = Get-ChildItem -Path . -Name -Include Singularity_*_Setup.exe
Invoke-WebRequest @UploadParams -InFile .\$FileNameWin64 -Uri "${UploadDestURL}/${FileNameWin64}"
If ($env:VIEWER_USE_CRASHPAD -eq 'TRUE')
{ {
sentry-cli upload-dif --include-sources singularity-bin.exe singularity-bin.pdb crashpad_handler.exe crashpad_handler.pdb fmod.dll libcrypto-1_1.dll libcrypto-1_1.pdb libssl-1_1.dll libssl-1_1.pdb libcrypto-1_1-x64.dll libcrypto-1_1-x64.pdb libssl-1_1-x64.dll libssl-1_1-x64.pdb vcruntime140.dll msvcp140.dll libhunspell.dll libhunspell.pdb glod.dll Push-Location $build_newview
$FileName = Get-ChildItem -Path . -Name -Include $file_pattern
Invoke-WebRequest @UploadParams -InFile .\$FileName -Uri "${UploadDestURL}/${FileName}"
If (($env:VIEWER_USE_CRASHPAD -eq 'TRUE') -and ($build_type -eq "vc-64"))
{
sentry-cli upload-dif --include-sources singularity-bin.exe singularity-bin.pdb crashpad_handler.exe crashpad_handler.pdb fmod.dll libcrypto-1_1.dll libcrypto-1_1.pdb libssl-1_1.dll libssl-1_1.pdb libcrypto-1_1-x64.dll libcrypto-1_1-x64.pdb libssl-1_1-x64.dll libssl-1_1-x64.pdb vcruntime140.dll msvcp140.dll libhunspell.dll libhunspell.pdb glod.dll
}
Pop-Location
} }
Pop-Location }
try_upload("linux-64", "Singularity_*.tar.xz")
try_upload("vc-64", "Singularity_*_Setup.exe")
try_upload("vc-32", "Singularity_*_Setup.exe")
If ($env:VIEWER_USE_CRASHPAD -eq 'TRUE') If ($env:VIEWER_USE_CRASHPAD -eq 'TRUE')
{ {
sentry-cli releases new $BuildChannelVersion sentry-cli releases new $BuildChannelVersion

View File

@@ -829,58 +829,34 @@
<string>fmodstudio</string> <string>fmodstudio</string>
<key>platforms</key> <key>platforms</key>
<map> <map>
<key>darwin</key>
<map>
<key>archive</key>
<map>
<key>hash</key>
<string>4a4e1bfd0e1e982643e75533ead10c55</string>
<key>hash_algorithm</key>
<string>md5</string>
<key>url</key>
<string>https://pkg.alchemyviewer.org/repository/autobuild-internal/fmodstudio/darwin/fmodstudio-2.00.03.192211300-darwin-192211300.tar.bz2</string>
</map>
<key>name</key>
<string>darwin</string>
</map>
<key>darwin64</key> <key>darwin64</key>
<map> <map>
<key>archive</key> <key>archive</key>
<map> <map>
<key>creds</key>
<string>gitlab</string>
<key>hash</key> <key>hash</key>
<string>fe1a606582fb72d5d1c9ec4a2d906830</string> <string>db27e5c974e41d822c75038a6816b07362d54f1b0a64f21a63f0b7076f94c4a34934145bc326a1cc946996abec4b9a5c47e8ef9c68a694e129f09876080d74ac</string>
<key>hash_algorithm</key> <key>hash_algorithm</key>
<string>md5</string> <string>blake2b</string>
<key>url</key> <key>url</key>
<string>https://pkg.alchemyviewer.org/repository/autobuild-internal/fmodstudio/darwin64/fmodstudio-2.00.03.192211302-darwin64-192211302.tar.bz2</string> <string>https://git.alchemyviewer.org/api/v4/projects/49/packages/generic/fmodstudio/2.02.06.1475/fmodstudio-2.02.06-darwin64-1475.tar.zst</string>
</map> </map>
<key>name</key> <key>name</key>
<string>darwin64</string> <string>darwin64</string>
</map> </map>
<key>linux</key>
<map>
<key>archive</key>
<map>
<key>hash</key>
<string>1331456a3df95294eaf44fab990f62cd</string>
<key>hash_algorithm</key>
<string>md5</string>
<key>url</key>
<string>https://depot.alchemyviewer.org/pub/linux/lib/fmodstudio-1.06.07-linux-201507231333.tar.bz2</string>
</map>
<key>name</key>
<string>linux</string>
</map>
<key>linux64</key> <key>linux64</key>
<map> <map>
<key>archive</key> <key>archive</key>
<map> <map>
<key>creds</key>
<string>gitlab</string>
<key>hash</key> <key>hash</key>
<string>7f631a7f1742a5786e1f9de1d2424350</string> <string>f430175d7af2a8f5e084cd789df904944b117eebb462211eafa80ea5c7f23399449c5a52faf35b3b81a09c51fdff0273741fb32c55f9c615a51b1f15a5094ca5</string>
<key>hash_algorithm</key> <key>hash_algorithm</key>
<string>md5</string> <string>blake2b</string>
<key>url</key> <key>url</key>
<string>https://pkg.alchemyviewer.org/repository/autobuild-internal/fmodstudio/linux64/fmodstudio-2.01.04.417-linux64-417.tar.bz2</string> <string>https://git.alchemyviewer.org/api/v4/projects/49/packages/generic/fmodstudio/2.02.06.1475/fmodstudio-2.02.06-linux64-1475.tar.zst</string>
</map> </map>
<key>name</key> <key>name</key>
<string>linux64</string> <string>linux64</string>
@@ -903,19 +879,21 @@
<map> <map>
<key>archive</key> <key>archive</key>
<map> <map>
<key>creds</key>
<string>gitlab</string>
<key>hash</key> <key>hash</key>
<string>e13b156ca861c36b388e18df0e8e20fb</string> <string>7ad5fe064e3a7f45234a3658315a86d80b85f5f49f8a1767e1453116bd23eda67a014c521cf26529fb6bbada3441e64ddffef98ddfa85ae846d8aec72ba6fc70</string>
<key>hash_algorithm</key> <key>hash_algorithm</key>
<string>md5</string> <string>blake2b</string>
<key>url</key> <key>url</key>
<string>https://pkg.alchemyviewer.org/repository/autobuild-internal/fmodstudio/windows64/fmodstudio-2.01.04.417-windows64-417.tar.bz2</string> <string>https://git.alchemyviewer.org/api/v4/projects/49/packages/generic/fmodstudio/2.02.06.1475/fmodstudio-2.02.06-windows64-1475.tar.zst</string>
</map> </map>
<key>name</key> <key>name</key>
<string>windows64</string> <string>windows64</string>
</map> </map>
</map> </map>
<key>version</key> <key>version</key>
<string>2.01.04.417</string> <string>2.02.06</string>
</map> </map>
<key>fonts</key> <key>fonts</key>
<map> <map>

View File

@@ -30,8 +30,8 @@ if (WINDOWS)
) )
endif() endif()
elseif (EXISTS /etc/arch-release) elseif (EXISTS /usr/bin/python2)
# On Archlinux, use Python 2 # if this is there, use it
find_program(PYTHON_EXECUTABLE python2 PATHS /usr/bin) find_program(PYTHON_EXECUTABLE python2 PATHS /usr/bin)

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file run_build_test.py @file run_build_test.py
@author Nat Goodspeed @author Nat Goodspeed

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file start-client.py @file start-client.py

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file test_win32_manifest.py @file test_win32_manifest.py
@brief Test an assembly binding version and uniqueness in a windows dll or exe. @brief Test an assembly binding version and uniqueness in a windows dll or exe.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file test_llsdmessage_peer.py @file test_llsdmessage_peer.py
@author Nat Goodspeed @author Nat Goodspeed

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file testrunner.py @file testrunner.py
@author Nat Goodspeed @author Nat Goodspeed

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file generate_breakpad_symbols.py @file generate_breakpad_symbols.py
@author Brad Kittenbrink <brad@lindenlab.com> @author Brad Kittenbrink <brad@lindenlab.com>

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Send a URL of the form secondlife://... to Second Life. # Send a URL of the form secondlife://... to Second Life.
# #

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Install @VIEWER_CHANNEL@. This script can install the viewer both # Install @VIEWER_CHANNEL@. This script can install the viewer both
# system-wide and for an individual user. # system-wide and for an individual user.

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# This script loads a web page in the 'default' graphical web browser. # This script loads a web page in the 'default' graphical web browser.
# It MUST return immediately (or soon), so the browser should be # It MUST return immediately (or soon), so the browser should be

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
SCRIPTSRC=`readlink -f "$0" || echo "$0"` SCRIPTSRC=`readlink -f "$0" || echo "$0"`
RUN_PATH=`dirname "${SCRIPTSRC}" || echo .` RUN_PATH=`dirname "${SCRIPTSRC}" || echo .`

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Register a protocol handler (default: handle_secondlifeprotocol.sh) for # Register a protocol handler (default: handle_secondlifeprotocol.sh) for
# URLs of the form secondlife://... # URLs of the form secondlife://...

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
## Here are some configuration options for Linux Client Testers. ## Here are some configuration options for Linux Client Testers.
## These options are for self-assisted troubleshooting during this beta ## These options are for self-assisted troubleshooting during this beta

View File

@@ -140,7 +140,7 @@ struct CommWrapper
static bool only_comm() static bool only_comm()
{ {
static const LLCachedControl<bool> only("CommunicateSpecificShortcut"); static const LLCachedControl<bool> only("CommunicateSpecificShortcut");
return only || LLFloaterChatterBox::instance().getFloaterCount(); return only || LLFloaterChatterBox::getInstance()->getFloaterCount();
} }
static bool instanceVisible(const LLSD& key) { return only_comm() ? LLFloaterChatterBox::instanceVisible(key) : LLFloaterMyFriends::instanceVisible(key); } static bool instanceVisible(const LLSD& key) { return only_comm() ? LLFloaterChatterBox::instanceVisible(key) : LLFloaterMyFriends::instanceVisible(key); }
static void toggleInstance(const LLSD& key) { only_comm() ? LLFloaterChatterBox::toggleInstance(key) : LLFloaterMyFriends::toggleInstance(key); } static void toggleInstance(const LLSD& key) { only_comm() ? LLFloaterChatterBox::toggleInstance(key) : LLFloaterMyFriends::toggleInstance(key); }

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file viewer_manifest.py @file viewer_manifest.py
@author Ryan Williams @author Ryan Williams

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python2
""" """
@file test_llmanifest.py @file test_llmanifest.py
@author Ryan Williams @author Ryan Williams

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
SAVEDIR=`pwd` SAVEDIR=`pwd`

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
SAVEDIR=`pwd` SAVEDIR=`pwd`

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#(C) 2011 SIANA GEARZ #(C) 2011 SIANA GEARZ
usage() { usage() {

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python2
"""\ """\
@file setup-path.py @file setup-path.py
@brief Get the python library directory in the path, so we don't have @brief Get the python library directory in the path, so we don't have

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python2
"""\ """\
@file template_verifier.py @file template_verifier.py
@brief Message template compatibility verifier. @brief Message template compatibility verifier.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python2
# -*- coding: UTF-8 -*- # -*- coding: UTF-8 -*-
"""\ """\
@file update_source_contributors.py @file update_source_contributors.py