-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (37 loc) · 1.1 KB
/
build.yml
File metadata and controls
39 lines (37 loc) · 1.1 KB
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
name: bootkit-build
on:
push:
branches:
- main
tags:
- "[0-9].[0-9]+.[0-9]+"
- "v[0-9].[0-9]+.[0-9]+"
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Pull source
uses: actions/checkout@v3
- name: Prepare environment
run: |
sudo add-apt-repository -y ppa:project-machine/squashfuse
sudo apt-get install mtools ovmf pip squashfuse
sudo pip install virt-firmware
sudo wget --progress=dot:mega -O /usr/bin/zot \
https://github.com/project-zot/zot/releases/download/v2.0.0-rc5/zot-linux-amd64-minimal
sudo chmod 755 /usr/bin/zot
which zot
sudo wget --progress=dot:mega -O /usr/bin/stacker \
https://github.com/project-stacker/stacker/releases/download/v1.0.0/stacker
sudo chmod 755 /usr/bin/stacker
which stacker
stacker --version
- name: build golang
run: |
make go-stacker-build
- name: build layers
run: |
make STACKER_COMMON_OPTS=--debug