Skip to content

Commit a997e4e

Browse files
committed
ci: build GDB too
1 parent c9a9dd4 commit a997e4e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/make.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232

3333
- name: "[Linux] Install dependencies"
3434
if: runner.os == 'Linux'
35-
run: sudo apt-get update && sudo apt-get install -y texinfo
35+
run: sudo apt-get update && sudo apt-get install -y texinfo libreadline-dev libgmp-dev libmpfr-dev
3636

3737
- name: "[macOS] Install dependencies"
3838
if: runner.os == 'macOS'
39-
run: brew install texinfo
39+
run: brew install texinfo gmp mpfr
4040

4141
- name: Setup MSYS2
4242
if: runner.os == 'Windows'
@@ -53,27 +53,29 @@ jobs:
5353
texinfo
5454
bison
5555
flex
56+
gmp
57+
mpfr
5658
5759
- name: "[Linux] Build binutils"
5860
if: runner.os == 'Linux'
5961
shell: bash
6062
run: |
61-
./configure --target=z80-none-elf --with-zstd=no --disable-gdb --disable-sim --disable-readline --disable-nls --disable-plugins --prefix="${{ runner.temp }}/binutils"
63+
./configure --target=z80-none-elf --with-zstd=no --disable-sim --disable-nls --disable-plugins --without-python --prefix="${{ runner.temp }}/binutils"
6264
make -j4 && make install-strip -j4
6365
6466
- name: "[macOS] Build binutils"
6567
if: runner.os == 'macOS'
6668
shell: bash
6769
run: |
68-
./configure --target=z80-none-elf --with-zstd=no --disable-gdb --disable-sim --disable-readline --disable-nls --disable-plugins --with-system-zlib --prefix="${{ runner.temp }}/binutils"
70+
./configure --target=z80-none-elf --with-zstd=no --disable-sim --disable-nls --disable-plugins --without-python --with-system-zlib --with-gmp=$(brew --prefix gmp) --with-mpfr=$(brew --prefix mpfr) --prefix="${{ runner.temp }}/binutils"
6971
make -j4 && make install-strip -j4
7072
7173
- name: "[Windows] Build binutils"
7274
if: runner.os == 'Windows'
7375
shell: msys2 {0}
7476
run: |
7577
PREFIX=$(cygpath -m "${{ runner.temp }}/binutils")
76-
./configure --target=z80-none-elf --with-zstd=no --disable-gdb --disable-sim --disable-readline --disable-nls --disable-plugins --disable-shared --enable-static --prefix="$PREFIX"
78+
./configure --target=z80-none-elf --with-zstd=no --disable-sim --disable-nls --disable-plugins --disable-shared --enable-static --without-python --prefix="$PREFIX"
7779
make configure-host && make -j4 LDFLAGS="-all-static" MAKEINFO=true && make install-strip -j4 MAKEINFO=true
7880
7981
- name: "[Unix] Install License Files"

0 commit comments

Comments
 (0)