-
Notifications
You must be signed in to change notification settings - Fork 41
65 lines (61 loc) · 1.88 KB
/
binutils-gdb-gcc.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
name: binutils-gdb-gcc
on:
push:
paths:
- "gcc-barto.patch"
- "ci/**"
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
# make sure to run ci/binutils-gdb/install.sh after ci/gcc/build.sh
# otherwise it finds m68k-amiga-elf/bin/as and enables .cfi directives
# thus breaking compatibility with the interrupt FP fix
jobs:
linux:
runs-on: ubuntu-20.04
env:
CC: gcc-9
CXX: g++-9
steps:
- uses: actions/checkout@v3
- run: ci/install-packages-linux.sh
- run: ci/binutils-gdb/clone.sh
- run: ci/binutils-gdb/download-prerequisites.sh
- run: ci/binutils-gdb/configure-linux.sh
- run: ci/binutils-gdb/build-linux.sh
- run: ci/gcc/download.sh
- run: ci/gcc/patch.sh
- run: ci/gcc/download-prerequisites.sh
- run: ci/gcc/configure-linux.sh
- run: ci/gcc/build.sh
- run: ci/binutils-gdb/install.sh
- run: ci/gcc/install.sh
- run: ci/clean-up.sh
- run: ci/archive-linux.sh
- uses: actions/upload-artifact@v3
with:
name: binutils-gdb-gcc-linux
path: binutils-gdb-gcc-linux.tar
macos:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- run: ci/install-packages-macos.sh
- run: ci/binutils-gdb/clone.sh
- run: ci/binutils-gdb/download-prerequisites.sh
- run: ci/binutils-gdb/configure-macos.sh
- run: ci/binutils-gdb/build-macos.sh
- run: ci/gcc/download.sh
- run: ci/gcc/patch.sh
- run: ci/gcc/download-prerequisites.sh
- run: ci/gcc/configure-macos.sh
- run: ci/gcc/build.sh
- run: ci/binutils-gdb/install.sh
- run: ci/gcc/install.sh
- run: ci/clean-up.sh
- run: ci/bundle-macos.sh
- run: ci/archive-macos.sh
- uses: actions/upload-artifact@v3
with:
name: binutils-gdb-gcc-macos
path: binutils-gdb-gcc-macos.tar