-
Notifications
You must be signed in to change notification settings - Fork 7
52 lines (51 loc) · 2.06 KB
/
main.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
name: Build
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
types: [opened, reopened]
branches:
- master
schedule:
- cron: '0 0 * * *'
jobs:
full-build-i686:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- run: apt-get update
- run: apt-get install apt-transport-https ca-certificates -y
- run: update-ca-certificates
- run: apt install -y gcc make autoconf g++ gnat-14 texinfo libmpfr-dev libgmp-dev wget bzip2 git xz-utils sudo libmpc-dev zlib1g-dev bison flex gawk autopoint libtool fakeroot mount parted gettext meson udev python3-cryptography
- run: ln -sf /usr/bin/gnatmake-14 /usr/bin/gnatmake
- run: ln -sf /usr/bin/gnatbind-14 /usr/bin/gnatbind
- run: ln -sf /usr/bin/gnatlink-14 /usr/bin/gnatlink
- run: ln -sf /usr/bin/gnatls-14 /usr/bin/gnatls
- run: bash cleanup.sh
- run: bash download.sh
- run: bash bootstrap.sh
- run: BUILD_TYPE=full bash compile.sh
- run: bash create-image.sh
full-build-x86_64:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- run: apt install -y gcc make autoconf g++ gnat-14 texinfo libmpfr-dev libgmp-dev wget bzip2 git xz-utils sudo libmpc-dev zlib1g-dev bison flex gawk autopoint libtool fakeroot mount parted gettext python3-cryptography
- run: ln -sf /usr/bin/gnatmake-14 /usr/bin/gnatmake
- run: ln -sf /usr/bin/gnatbind-14 /usr/bin/gnatbind
- run: ln -sf /usr/bin/gnatlink-14 /usr/bin/gnatlink
- run: ln -sf /usr/bin/gnatls-14 /usr/bin/gnatls
- run: bash cleanup.sh
- run: bash download.sh
- run: CPU=x86_64 bash bootstrap.sh
- run: CPU=x86_64 BUILD_TYPE=full bash compile.sh
kernel-x86_64_32:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- run: apt install -y gcc make autoconf g++ texinfo libmpfr-dev libgmp-dev wget bzip2 git xz-utils sudo libmpc-dev zlib1g-dev bison flex gawk autopoint libtool fakeroot mount parted gettext
- run: bash cleanup.sh
- run: bash download.sh
- run: USER32="true" CPU=x86_64 bash bootstrap-kernel.sh