Skip to content

chore: improve logging, add trace level logging (#29) #100

chore: improve logging, add trace level logging (#29)

chore: improve logging, add trace level logging (#29) #100

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test-example:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/libextism
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install WASI SDK
run: |
bash install-wasi-sdk.sh
echo '$WASI_SDK_PATH="'$(pwd)'"/wasi-sdk' >> $GITHUB_ENV
- name: Example
run: |
cd examples/count-vowels
TEST=$(make run)
echo $TEST | grep '"count": 4'
- name: Tests
if: matrix.os != 'macos-latest'
run: |
cd tests
make test