Skip to content

ci: keep consistent zig env with pdk #25

ci: keep consistent zig env with pdk

ci: keep consistent zig env with pdk #25

Workflow file for this run

name: CI
on: [pull_request, push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Zig env
uses: goto-bus-stop/setup-zig@v2
- name: Check Zig version
run: zig version
- name: Install XTP CLI
run: curl https://static.dylibso.com/cli/install.sh | sudo sh
- name: Build example
run: zig build
- name: Test example
run: |
# this is configured by the `xtp.toml` in the root
xtp plugin test https://raw.githubusercontent.com/extism/extism/main/wasm/code.wasm