web backend ci
@@ -19,22 +19,24 @@ on:
workflow_dispatch:
jobs:
- lmp-build:
- runs-on: ubuntu-22.04
-
+ web-backend-build-and-run:
+ runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- # go
- - name: Setup Go environment
- uses: actions/setup-go@v2.1.3
+ - name: Set up Go
+ uses: actions/setup-go@v3
with:
- go-version: '1.18'
+ go-version: 1.18
- - name: make lmp
+ - name: Build Lmp Web Backend
run: |
cd eBPF_Visualization/eBPF_server
- make all
+ go mod tidy
+ make
+ sudo -E timeout 120 go run cmd/server/main.go || if [[ $? != 124 && $? != 0 ]];then exit $?;fi
+ timeout-minutes: 5
+
sidecar-build-and-test:
runs-on: ubuntu-latest
