Skip to content

ci: install libextism with token #2

ci: install libextism with token

ci: install libextism with token #2

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