Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/taskcluster/docker/system-symbols-win-gfx/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  run.sh   Sprache: Shell

 
#!/bin/bash

set -ex

SHA256SUMS="SHA256SUMS.zip"

function get_route()
{
  local task_url="${TASKCLUSTER_ROOT_URL}/api/queue/v1/task/${TASK_ID}"
  local payload
  payload=$(curl -sSL "${task_url}")

  local route
  route=$(echo "${payload}" | jq -r '.routes[] | select(contains("latest")) | select(contains("pushdate") | not) ' | sed -e 's/^index\.//')
  echo "${route}"
}

function get_sha256sum_url()
{
  local route
  route=$(get_route)
  local sha256sums_url="${TASKCLUSTER_ROOT_URL}/api/index/v1/task/${route}/artifacts/public/build/${SHA256SUMS}"
  echo "${sha256sums_url}"
}

function has_sha256sums_on_index()
{
  local url
  url=$(get_sha256sum_url)
  curl -sSL --head --fail -o /dev/null "${url}"
}

function download_extract_sha256sums()
{
  local url=$1
  curl -sSL "${url}" -o "${SHA256SUMS}"
  unzip "${SHA256SUMS}" && rm "${SHA256SUMS}"
}

if has_sha256sums_on_index; then
  sha256=$(get_sha256sum_url)
fi

mkdir -p /builds/worker/artifacts/

pushd "${MOZ_FETCHES_DIR}/symbol-scrapers/windows-graphics-drivers"
  if [ -z "${sha256}" ]; then
    touch SHA256SUMS # First run, create the file
  else
    download_extract_sha256sums "${sha256}"
  fi

  PATH="${MOZ_FETCHES_DIR}/7zz/:${PATH}" DUMP_SYMS="${MOZ_FETCHES_DIR}/dump_syms/dump_syms" /bin/bash -x script.sh
  zip -r9 "/builds/worker/artifacts/${SHA256SUMS}" SHA256SUMS
popd

zip_files=$(find /builds/worker/artifacts -name "target.crashreporter-symbols.*.zip")

if [ -z "${zip_files}" ]; then
  echo "No symbols zip produced, upload task will fail"
fi

Messung V0.5
C=90 H=67 G=79

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.