-
Notifications
You must be signed in to change notification settings - Fork 38
35 lines (29 loc) · 1.03 KB
/
ci-e2e.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: CI-E2E
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: macos-latest
steps:
- name: brew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- name: lima
run: |
limactl start --tty=false --name=bpfdev template://ubuntu-lts
limactl shell bpfdev exec -- sudo apt-get install net-tools
limactl shell bpfdev exec -- ifconfig -a
- name: clone
run: |
limactl shell bpfdev exec -- sudo apt-get install git
limactl shell bpfdev exec -- /usr/bin/bash -c "whoami; cd /tmp/lima"
limactl shell bpfdev exec -- sudo git clone https://github.com/l3af-project/l3af-arch.git
limactl shell bpfdev exec -- sudo git clone https://github.com/l3af-project/l3afd.git
- name: run l3afd
run: |
limactl shell bpfdev exec -- /bin/bash -c "cd l3af-arch/dev_environment && ./setup_linux_dev_env.sh"