kvstore: switch to kvstore v2 hostcalls #430
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: Build Examples | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-examples: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
# Newest supported configuration | |
- go-version: '1.23' # pairs with TinyGo 0.33.0 | |
tinygo-version: '0.33.0' | |
# Oldest supported configuration | |
- go-version: '1.21' # pairs with TinyGo 0.29.0 | |
tinygo-version: '0.29.0' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: ./.github/actions/install-tinygo | |
with: | |
tinygo-version: ${{ matrix.tinygo-version }} | |
- name: Build examples Go | |
env: | |
GOARCH: wasm | |
GOOS: wasip1 | |
run: | | |
for i in _examples/*/; do | |
echo ${GITHUB_WORKSPACE}/$i | |
cd ${GITHUB_WORKSPACE}/$i && go build -tags fastlyinternaldebug | |
done | |
- name: Build examples TinyGo | |
run: | | |
for i in _examples/*/; do | |
echo ${GITHUB_WORKSPACE}/$i | |
cd ${GITHUB_WORKSPACE}/$i && tinygo build -target=wasi -tags fastlyinternaldebug | |
done |