wilvk/Setup asm-test
Install the asm-test assembly-testing framework (headers, static library, pkg-config file) into a prefix, export PKG_CONFIG_PATH for later steps, optionally build the emulator/assembler tiers, and optionally run your test suite command.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | Git ref (tag, branch, or SHA) of asm-test to build and install. Leave empty (the default) to use the checkout this action ships with — the ref in your `uses:` line then pins the framework version, which is the recommended way. | no | "" |
| prefix | Install prefix (passed to `make install PREFIX=...`). Defaults to "$HOME/.asmtest" — a user-writable prefix that needs no sudo. | no | "" |
| optional-tiers | Set "true" to also provision the optional native tiers: installs libunicorn via the system package manager, builds the pinned Keystone + Capstone from source, and installs the shared superset library (libasmtest_emu) into the prefix, exporting LD_LIBRARY_PATH / DYLD_LIBRARY_PATH for later steps. Slower (Keystone is a trimmed LLVM); needs a runner with sudo (Linux) or brew (macOS). | no | false |
| test-command | Optional command to run (in your workspace) once the install is done, with PKG_CONFIG_PATH — and, when optional-tiers is true, the library path — already exported. Example: "make -C tests check". | no | "" |
Outputs
| name | description |
|---|---|
| prefix | The resolved install prefix asm-test was installed into. |