ci: add test workflow #3
Workflow file for this run
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
on: | |
pull_request: | |
workflow_dispatch: | |
name: CI | |
jobs: | |
lib: | |
name: Extism runtime lib | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
rust: | |
- stable | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Build | |
run: make | |
- name: Test | |
run: make test | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: libextism-${{ matrix.os }} | |
path: | | |
./extism-wamr | |
./libextism-wamr.a |