-
Notifications
You must be signed in to change notification settings - Fork 4
93 lines (75 loc) · 2.73 KB
/
Copy pathbuild.yml
File metadata and controls
93 lines (75 loc) · 2.73 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
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
name: Build
on: [push]
jobs:
build_release:
name: Release
runs-on: ubuntu-latest
env:
RELEASE: "true"
GCC_VERSION: "5.4.0"
BINUTILS_VERSION: "2.29"
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get -y install nasm
- name: Cache Dependencies
id: cache-deps
uses: actions/cache@v2
with:
path: .deps
key: ${{ runner.os }}-${{ env.GCC_VERSION }}-${{ env.BINUTILS_VERSION }}-deps
- name: Install cross compiler dependencies
if: steps.cache-deps.outputs.cache-hit != 'true'
run: sudo apt-get install -y build-essential flex bison texinfo wget
- name: Build cross compiler
if: steps.cache-deps.outputs.cache-hit != 'true'
run: make deps
- name: Compile
run: make
build_debug:
name: Debug
runs-on: ubuntu-latest
env:
RELEASE: "false"
GCC_VERSION: "5.4.0"
BINUTILS_VERSION: "2.29"
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install build-essential nasm flex bison texinfo wget
- name: Cache Dependencies
id: cache-deps
uses: actions/cache@v2
with:
path: .deps
key: ${{ runner.os }}-${{ env.GCC_VERSION }}-${{ env.BINUTILS_VERSION }}-deps
- name: Build cross compiler
if: steps.cache-deps.outputs.cache-hit != 'true'
run: make deps
- name: Compile
run: make
build_latest_binutil:
name: Latest GCC and BinUtils
runs-on: ubuntu-latest
env:
RELEASE: "false"
GCC_VERSION: "9.1.0"
BINUTILS_VERSION: "2.32"
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get -y install nasm
- name: Cache Dependencies
id: cache-deps
uses: actions/cache@v2
with:
path: .deps
key: ${{ runner.os }}-${{ env.GCC_VERSION }}-${{ env.BINUTILS_VERSION }}-deps
- name: Install cross compiler dependencies
if: steps.cache-deps.outputs.cache-hit != 'true'
run: sudo apt-get install -y build-essential flex bison texinfo wget
- name: Build cross compiler
if: steps.cache-deps.outputs.cache-hit != 'true'
run: make deps
- name: Compile
run: make