ci-platforms / darwin amd64 smoke (push) Skipped
GitHub / linux amd64 native GitHub-hosted native CI: success
ci-platforms / windows amd64 smoke (push) Skipped
GitHub / windows amd64 native GitHub-hosted native CI: success
GitHub / darwin arm64 native GitHub-hosted native CI: success
GitHub / darwin amd64 native GitHub-hosted native CI: success
ci / checks (push) Failing after 1h21m34s
ci / native-authoring (push) Skipped
ci-platforms / darwin arm64 smoke (push) Skipped
github-native / gitea-pending (push) Skipped
github-native / darwin amd64 native (push) Skipped
github-native / linux amd64 native (push) Skipped
github-native / windows amd64 native (push) Skipped
github-native / darwin arm64 native (push) Skipped
github-native / gitea-result (push) Skipped
ci / build (amd64, linux, ubuntu-24.04) (push) Successful in 12m4s
ci / release (push) Skipped
Add dockable Art tools, animation and previews, guarded asset workflows, and the Web Asset Studio built on the shared Art Core. Expand English and Russian documentation, interactive Try scenes, examples and editor icons. Add audio waveform navigation, source analysis, guarded previews and a browser Worker mixer. Preserve source changes and recovery with bounded checks, and strengthen native, browser and interoperability CI. Prepare version 0.12.5 and manually built native artifact candidates. Fix the production site image demo build dependency. Reuse immutable scene indices when capturing keyframes. Wait for real Persist save/load completion in component tests. Stabilize browser Game View captures outside pointer hover. Aseprite interchange and persistent Audio EDL recovery remain limited; the artifact workflow does not publish releases or change stable.
36 lines
1.5 KiB
Bash
36 lines
1.5 KiB
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
|
VERSION="$(tr -d '\r\n' < "$ROOT/tools/glslang.version")"
|
|
# The source archive is pinned independently of the tag on the download URL.
|
|
[[ "$VERSION" == "15.1.0" ]] || { echo "Update the glslang source pin for $VERSION" >&2; exit 1; }
|
|
SHA256=4bdcd8cdb330313f0d4deed7be527b0ac1c115ff272e492853a6e98add61b4bc
|
|
WORK="${AEGO_GLSLANG_WORK:-$ROOT/.cache/github-ci/glslang}"
|
|
mkdir -p "$WORK/src"
|
|
ARCHIVE="$WORK/glslang-$VERSION.tar.gz"
|
|
if [[ ! -f "$ARCHIVE" ]]; then
|
|
curl -fsSL "https://codeload.github.com/KhronosGroup/glslang/tar.gz/refs/tags/$VERSION" -o "$ARCHIVE"
|
|
fi
|
|
if command -v sha256sum >/dev/null 2>&1; then
|
|
ACTUAL="$(sha256sum "$ARCHIVE" | awk '{print $1}')"
|
|
else
|
|
ACTUAL="$(shasum -a 256 "$ARCHIVE" | awk '{print $1}')"
|
|
fi
|
|
[[ "$ACTUAL" == "$SHA256" ]] || { echo "glslang source checksum mismatch" >&2; exit 1; }
|
|
tar -xzf "$ARCHIVE" -C "$WORK/src" --strip-components=1
|
|
|
|
# Only the GLSL/ESSL reference frontend and linker are needed for validation.
|
|
cmake -S "$WORK/src" -B "$WORK/build" -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=Release -DGLSLANG_TESTS=OFF -DGLSLANG_ENABLE_INSTALL=OFF \
|
|
-DENABLE_SPIRV=OFF -DENABLE_HLSL=OFF -DENABLE_OPT=OFF
|
|
cmake --build "$WORK/build" --target glslang-standalone --parallel 2
|
|
BIN="$WORK/build/StandAlone"
|
|
PATH="$BIN:$PATH" bash "$ROOT/tools/check-glslang.sh"
|
|
if [[ -n "${GITHUB_PATH:-}" ]]; then
|
|
if [[ "${RUNNER_OS:-}" == "Windows" ]]; then
|
|
BIN="$(cygpath -w "$BIN")"
|
|
fi
|
|
printf '%s\n' "$BIN" >> "$GITHUB_PATH"
|
|
fi
|