forked from a1ive/grub
-
Notifications
You must be signed in to change notification settings - Fork 0
105 lines (94 loc) · 2.82 KB
/
build.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
name: release
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v1
- name: initialize
run: |
sudo apt-get -y update
sudo -E apt-get -y install build-essential python iasl lzop unifont autopoint bison flex gettext gcc-aarch64-linux-gnu gcc-arm-linux-gnueabi gcc-mingw-w64
- name: bootstrap
run: ./bootstrap
- name: i686-w64-mingw32 configure
run: |
./configure --prefix=/ --target=i686-w64-mingw32 --with-platform=none --host=i686-w64-mingw32
- name: i686-w64-mingw make
run: |
make
make install DESTDIR=$PWD/PKG
- name: i686-w64-mingw clean
run: make clean
- name: arm64-efi configure
run: |
./configure --prefix=/ --target=aarch64-linux-gnu --with-platform=efi --host=aarch64-linux-gnu
- name: arm64-efi make
run: |
make
make install DESTDIR=$PWD/PKG
- name: arm64-efi clean
run: make clean
- name: arm-efi configure
run: |
./configure --prefix=/ --target=arm-linux-gnueabi --with-platform=efi --host=arm-linux-gnueabi
- name: arm-efi make
run: |
make
make install DESTDIR=$PWD/PKG
- name: arm-efi clean
run: make clean
- name: x86_64-efi configure
run: ./configure --prefix=/ --target=x86_64 --with-platform=efi
- name: x86_64-efi make
run: |
make
make install DESTDIR=$PWD/PKG
- name: x86_64-efi clean
run: make clean
- name: i386-efi configure
run: ./configure --prefix=/ --target=i386 --with-platform=efi
- name: i386-efi make
run: |
make
make install DESTDIR=$PWD/PKG
- name: i386-efi clean
run: make clean
- name: i386-pc configure
run: ./configure --prefix=/ --target=i386 --with-platform=pc
- name: i386-pc make
run: |
make
make install DESTDIR=$PWD/PKG
- name: i386-pc clean
run: make clean
- name: i386-multiboot configure
run: ./configure --prefix=/ --target=i386 --with-platform=multiboot
- name: i386-multiboot make
run: |
make
make install DESTDIR=$PWD/PKG
- name: i386-multiboot clean
run: make clean
# - name: i386-coreboot configure
# run: ./configure --prefix=/ --target=i386 --with-platform=coreboot
# - name: i386-coreboot make
# run: |
# make
# make install DESTDIR=$PWD/PKG
# - name: i386-coreboot clean
# run: make clean
- name: makepkg
run: ./makepkg.sh
- name: upload
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "Development Build"
files: grub2-latest.tar.gz