Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: builds wasm proxy filter. #1

Merged
merged 8 commits into from
May 13, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: fixes build.
  • Loading branch information
jcchavezs committed May 13, 2022
commit d89e7b4edf608f168f4553a4dd64edc30b22d99c
30 changes: 24 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test
name: CI check
on:
push:
branches:
Expand All @@ -11,9 +11,6 @@ on:
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
go: ["1.17", "1.18"]
steps:
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
- name: Check out code
Expand All @@ -22,15 +19,36 @@ jobs:
fetch-depth: 0
submodules: true

- name: Setup go
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
go-version: 1.18.1

- name: Run tests
shell: bash
run: make test

build:
needs: [test]
runs-on: ubuntu-20.04
container:
image: tinygo/tinygo:0.23.0
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: "1.18.1"

- name: Check out code
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
submodules: true

# TinyGo's release container does not have Make command.
- name: Install Make
run: apt install make

- name: Build WASM filter
shell: bash
run: make build