-
Notifications
You must be signed in to change notification settings - Fork 48
69 lines (66 loc) · 2.14 KB
/
eden_setup.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
name: Eden_setup
on: # yamllint disable-line rule:truthy
pull_request:
branches: [master]
jobs:
setup:
runs-on: ubuntu-22.04
steps:
- name: setup
run: |
sudo apt update
sudo apt install -y qemu-utils qemu-user-static
- name: host info
run: |
ip a
- name: get eden
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: setup go
uses: actions/setup-go@v3
with:
go-version: '1.18'
- name: build docker images
run: |
make LINUXKIT_TARGET=build DOCKER_PLATFORM=linux/arm64 build-docker
make LINUXKIT_TARGET=build DOCKER_PLATFORM=linux/amd64 build-docker
- name: cleanup
run: |
rm -fr ~/.linuxkit
docker system prune --all --force --volumes
- name: build eden
run: |
make clean
make build-tests
- name: run
run: |
./eden config add setup
./eden --config setup setup
./eden --config setup clean
./eden config add setup --arch=arm64
./eden --config setup setup
./eden --config setup clean
./eden config delete setup
./eden config add setup --devmodel GCP
./eden --config setup setup
./eden --config setup clean
./eden config delete setup
./eden config add setup --devmodel RPi4
./eden --config setup setup
./eden --config setup clean
./eden config delete setup
./eden config add setup --devmodel general
./eden --config setup setup
./eden --config setup clean
./eden config delete setup
# try download and build from repo
./eden config add setup
# use stable tag as eve tag and branch may differ
./eden config set setup --key eve.tag --value="8.6.0"
./eden --config setup setup --download=false
./eden --config setup clean
./eden config delete setup