Skip to content

feat: print filename + line number formatted for ide support #11

feat: print filename + line number formatted for ide support

feat: print filename + line number formatted for ide support #11

Workflow file for this run

name: CI
on: [pull_request, workflow_dispatch]
jobs:
test-example:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
rust:
- stable
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- name: Install wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Install XTP CLI
run: curl https://static.dylibso.com/cli/install.sh | sudo sh
- name: Check XTP CLI Version
run: xtp -v
- name: Build
run: cargo build --release --examples
- name: Test example
run: |
xtp plugin test \
https://raw.githubusercontent.com/extism/extism/main/wasm/code.wasm \
--with target/wasm32-unknown-unknown/release/examples/basic.wasm