Skip to content

Commit 9bda238

Browse files
committed
[temp] probe: pin the Termux APK, print xlings' own error; Windows jobs measured
1 parent ecb4585 commit 9bda238

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

‎.github/probe/termux_docker.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ say "- container exit: ${PIPESTATUS[0]}, wall: $(( $(date +%s) - start )) s"
2929

3030
say '### environment'
3131
say '```'
32-
grep -E '^(ENV|UNAME|ID|HARDLINK)' "$LOGS/container.log" | head -40 >> "$S"
32+
grep -E "^(ENV|UNAME|ID|HARDLINK|XLINGS|MCPP)" "$LOGS/container.log" | head -40 >> "$S"
3333
say '```'
3434
say '### first run: key lines'
3535
say '```'

‎.github/probe/termux_emulator.sh‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ say() { echo "$*"; echo "$*" >> "$S"; }
1414

1515
case "${1:-}" in
1616
download)
17-
apk_url=$(curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN:-}" \
18-
https://api.github.com/repos/termux/termux-app/releases/latest \
19-
| python3 -c 'import json,sys; a=[x["browser_download_url"] for x in json.load(sys.stdin)["assets"] if x["name"].endswith("github-debug_x86_64.apk")]; print(a[0] if a else "")')
17+
apk_url="https://github.com/termux/termux-app/releases/download/v0.118.3/termux-app_v0.118.3+github-debug_x86_64.apk"
2018
echo "apk: $apk_url"
2119
curl -fsSL -o "$EMU/termux.apk" "$apk_url"
2220
curl -fsSL -o "$EMU/mcpp.tar.gz" \

‎.github/probe/termux_inner.sh‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ tar -xzf "$TARBALL" -C "$HOME/dist" 2>&1 | tail -3
2727
MCPP=$(find "$HOME/dist" -path '*/bin/mcpp' -type f | head -1)
2828
echo "MCPP $MCPP"
2929
"$MCPP" --version 2>&1
30+
XL=$(dirname "$(dirname "$MCPP")")/registry/bin/xlings
31+
echo "XLINGS $XL"
32+
"$XL" --version 2>&1 | head -3
33+
echo "XLINGS self init (direct):"
34+
XLINGS_HOME=$(dirname "$XL")/.. "$XL" self init 2>&1 | tail -25
35+
echo "XLINGS exit: $?"
3036
"$MCPP" self env 2>&1 | head -40
3137

3238
mkdir -p "$HOME/hello/src"

‎.github/workflows/probe.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
jobs:
1313
# O6 / D17 / D18: a Windows SDK outside the conventional C: paths.
1414
windows-sdk:
15+
if: false
1516
name: windows sdk moved out of the conventional path
1617
runs-on: windows-latest
1718
timeout-minutes: 120
@@ -28,6 +29,7 @@ jobs:
2829

2930
# O5: cl.exe options for each module role.
3031
msvc-module-roles:
32+
if: false
3133
name: cl.exe module roles
3234
runs-on: windows-latest
3335
timeout-minutes: 20

0 commit comments

Comments
 (0)