Skip to content

Commit fa2bdfa

Browse files
committed
ci: wire vendored xlings for compat smoke
1 parent 4a4be20 commit fa2bdfa

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/validate.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,13 @@ jobs:
5656
curl -L -fsS -o mcpp.tar.gz \
5757
"https://github.com/mcpp-community/mcpp/releases/download/v${MCPP_VERSION}/mcpp-${MCPP_VERSION}-linux-x86_64.tar.gz"
5858
tar -xzf mcpp.tar.gz
59-
echo "$PWD/mcpp-${MCPP_VERSION}-linux-x86_64/bin" >> "$GITHUB_PATH"
59+
root="$PWD/mcpp-${MCPP_VERSION}-linux-x86_64"
60+
echo "MCPP=$root/bin/mcpp" >> "$GITHUB_ENV"
61+
echo "MCPP_VENDORED_XLINGS=$root/registry/bin/xlings" >> "$GITHUB_ENV"
62+
echo "$root/bin" >> "$GITHUB_PATH"
6063
- name: Run compat smoke tests
6164
run: |
62-
mcpp --version
65+
"$MCPP" --version
6366
timeout 1800 bash tests/smoke_compat_core.sh
6467
timeout 1800 bash tests/smoke_compat_imgui.sh
6568
timeout 1800 bash tests/smoke_compat_archive.sh

0 commit comments

Comments
 (0)