Skip to content

CI: invoke Apalache via apalache-mc.bat (and cmd.exe) on Windows#210

Closed
lemmy wants to merge 1 commit intomasterfrom
mku-CIApalache
Closed

CI: invoke Apalache via apalache-mc.bat (and cmd.exe) on Windows#210
lemmy wants to merge 1 commit intomasterfrom
mku-CIApalache

Conversation

@lemmy
Copy link
Copy Markdown
Member

@lemmy lemmy commented Apr 22, 2026

tla_utils.check_model hard-coded bin/apalache-mc, but on Windows the launcher is bin/apalache-mc.bat and subprocess.run cannot spawn .bat files via CreateProcess directly. Resolve the launcher per-platform and route batch files through cmd.exe /c. This was latent because the only symbolic-mode model in CI (EinsteinRiddle) was always being skipped: [ ${{ matrix.unicode }} ] in CI.yml is truthy for both "true" and "false", so the SKIP entry was added unconditionally rather than only on the Unicode variant.

`tla_utils.check_model` hard-coded `bin/apalache-mc`, but on Windows
the launcher is `bin/apalache-mc.bat` and `subprocess.run` cannot
spawn `.bat` files via CreateProcess directly. Resolve the launcher
per-platform and route batch files through `cmd.exe /c`.
This was latent because the only symbolic-mode model in CI
(EinsteinRiddle) was always being skipped: `[ ${{ matrix.unicode }} ]`
in CI.yml is truthy for both "true" and "false", so the SKIP entry
was added unconditionally rather than only on the Unicode variant.

Signed-off-by: Markus Alexander Kuppe <github.com@lemmster.de>
@lemmy lemmy added the bug label Apr 22, 2026
@lemmy lemmy requested a review from ahelwer April 22, 2026 17:32
@lemmy
Copy link
Copy Markdown
Member Author

lemmy commented Apr 23, 2026

Outdated

@lemmy lemmy closed this Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant