Skip to content

feat: add lab5

feat: add lab5 #1

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: lab5
on:
push:
paths:
- 'lab5/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: 'lab5/go.mod'
cache: false
- name: Build
working-directory: 'lab5'
run: |
pip install -r requirements.txt
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" .
GOOS=js GOARCH=wasm go build -o wasm/lib.wasm wasm/main.go
- name: Run
working-directory: 'lab5'
run: |
go run server.go &
python3 validate.py