-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (45 loc) · 1.15 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
name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: emscripten/emsdk:latest
strategy:
matrix:
target:
- armv7-linux-gnueabihf
- aarch64-linux-gnu
- mips-linux-gnu
- mips64-linux-gnuabi64
- powerpc-linux-gnu
- powerpc64-linux-gnu
- sparc-linux-gnu
- i386-linux-gnu
- x86_64-linux-gnu
- riscv32-linux-gnu
- riscv64-linux-gnu
- loongarch32-linux-gnu
- loongarch64-linux-gnu
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: bminor/binutils-gdb
path: binutils-gdb
- name: Install dependencies
run: |
apt-get update
apt-get install -y texinfo flex bison
- name: Build
id: build
working-directory: binutils-gdb
run: |
../build.sh ${{ matrix.target }}
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.target }}
path: ${{ steps.build.outputs.dir }}