Skip to content

MagicEye:更改cmake文件,对controller进行编译 #73

MagicEye:更改cmake文件,对controller进行编译

MagicEye:更改cmake文件,对controller进行编译 #73

Workflow file for this run

name: MagicEyes
on:
push:
branches:
- "*"
paths:
- 'MagicEyes/**'
- '.github/workflows/magic_eyes.yml'
pull_request:
branches:
- "*"
paths:
- 'MagicEyes/**'
- '.github/workflows/magic_eyes.yml'
permissions:
contents: write
jobs:
MagicEyes_build-and-run:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install dependencies and Init Env
run: |
sudo apt update
sudo apt install libbpf-dev clang-14 llvm-14 libelf-dev libpcap-dev gcc-multilib build-essential cmake
git submodule update --init --recursive
- name: Build
run: |
cd MagicEyes/
mkdir build && cd build
cmake -DBUILD_ALL=ON ..
make
make install