Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/closura-arc-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,32 @@ jobs:
printf 'T3 ARC: repo=%s runner=%s ref=%s source=%s\n' \
"$GITHUB_REPOSITORY" "$RUNNER_NAME" "$GITHUB_REF" "$(git rev-parse HEAD)"

- name: Provide libatomic for official Node binaries
shell: bash
run: |
set -euo pipefail
# Official Node 26 linux-x64 binaries link libatomic.so.1. The pinned
# actions-runner image (dotnet runtime-deps:8.0-noble) lacks it, and
# the ARC pod cannot use sudo/apt (no privilege escalation). Without
# it, Vite+ self-setup fails with exit 127. Use Ubuntu noble's
# immutable release-pocket package, pinned by SHA-256.
lib_system=/usr/lib/x86_64-linux-gnu/libatomic.so.1
if test -e "$lib_system"; then
printf 'libatomic present at %s\n' "$lib_system"
exit 0
fi
test "$(uname -m)" = x86_64
deb_url='https://archive.ubuntu.com/ubuntu/pool/main/g/gcc-14/libatomic1_14-20240412-0ubuntu1_amd64.deb'
deb_sha256='f496d80626e1512456273965d44f47b281edf53fa26d0d8bd0defc5be7e4601c'
dir="$RUNNER_TEMP/libatomic"
mkdir -p "$dir"
curl -fsSL --connect-timeout 10 --max-time 120 -o "$dir/libatomic1.deb" "$deb_url"
printf '%s %s\n' "$deb_sha256" "$dir/libatomic1.deb" | sha256sum -c -
dpkg-deb -x "$dir/libatomic1.deb" "$dir/root"
lib_dir="$dir/root/usr/lib/x86_64-linux-gnu"
test -f "$lib_dir/libatomic.so.1"
printf 'LD_LIBRARY_PATH=%s\n' "$lib_dir${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" >> "$GITHUB_ENV"

- name: Set up pinned Node, pnpm and Vite+
uses: voidzero-dev/setup-vp@250f29ce396baf5e8f24498e17c0dfdebabc26eb # v1.15.0
env:
Expand Down
15 changes: 15 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Vendored read-only references under .repos/ (see AGENTS.md) carry two nested
# gitlinks from alchemy-effect. Without a mapping, `git submodule foreach`
# (run by actions/checkout when persist-credentials is false) fails with
# "No url found for submodule path". These entries only name the upstream
# sources; they are never initialized or updated in this repository.
[submodule ".repos/alchemy-effect/submodules/distilled"]
path = .repos/alchemy-effect/submodules/distilled
url = https://github.com/alchemy-run/distilled.git
update = none
ignore = all
[submodule ".repos/alchemy-effect/submodules/floci"]
path = .repos/alchemy-effect/submodules/floci
url = https://github.com/alchemy-run/floci.git
update = none
ignore = all
Loading