Merge branch 'linuxkerneltravel:develop' into develop #3
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: LMP Web Backend | |
on: | |
push: | |
branches: | |
- "*" | |
paths: | |
- 'eBPF_Visualization/eBPF_server/**' | |
- '.github/workflows/web_lmp.yml' | |
pull_request: | |
branches: | |
- "*" | |
paths: | |
- 'eBPF_Visualization/eBPF_server/**' | |
- '.github/workflows/web_lmp.yml' | |
jobs: | |
web-backend-build-and-run: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.18 | |
- name: Build Lmp Web Backend | |
run: | | |
cd eBPF_Visualization/eBPF_server | |
go mod tidy | |
make | |
sudo -E timeout 120 go run cmd/server/main.go || if [[ $? != 124 && $? != 0 ]];then exit $?;fi | |
timeout-minutes: 5 | |