Skip to content

CI: fix go examples #372

CI: fix go examples

CI: fix go examples #372

Workflow file for this run

name: "c-cpp"
on:
push:
branches: "main"
pull_request:
branches: "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: install deps
run: |
sudo make install-deps
make /opt/wasi-sdk
make tinygo
- name: make
run: make -C runtime/cpp
- name: make build-lib
run: make -C runtime/cpp build-lib
- name: examples with cpp runtime
run: IMPL=cpp make -C examples
- name: make test
run: |
make clean
make -C runtime/cpp test
- name: Upload build result
uses: actions/upload-artifact@v2.3.1
with:
path: "wasm-bpf"