Merge pull request #5 from extism/feat/update-readme #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Zig CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
zig: | |
name: Zig CI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
zig_version: ["master"] # eventually use multiple versions once stable | |
rust: | |
- stable | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- uses: ./.github/actions/libextism | |
- name: Setup Zig env | |
uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: ${{ matrix.zig_version }} | |
- name: Test Zig Host SDK | |
run: | | |
zig version | |
LD_LIBRARY_PATH=/usr/local/lib zig build test |