From 081d6e2763ffed959669ea290a22767dac2ee736 Mon Sep 17 00:00:00 2001 From: syumai Date: Tue, 16 Apr 2024 23:31:09 +0900 Subject: [PATCH] add Build examples step to CI --- .github/workflows/pull_request.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 8261015..9570f72 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -22,4 +22,21 @@ jobs: - name: Test shell: bash run: | - PATH=$PWD/misc/wasm:$PATH GOOS=js GOARCH=wasm go test ./... \ No newline at end of file + PATH=$PWD/misc/wasm:$PATH GOOS=js GOARCH=wasm go test ./... + + examples: + name: Build examples + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup Golang + uses: actions/setup-go@v4 + with: + go-version: ${{ matrix.go-version }} + + - name: Build examples + shell: bash + run: make build-examples +