Skip to content

Commit c86326a

Browse files
committed
Install gdb package in CI to make gdb_apit unit tests work
1 parent 5c518e7 commit c86326a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
- libubsan0
100100
- parallel
101101
- jq
102+
- gdb
102103
before_install:
103104
- mkdir bin
104105
- ln -s /usr/bin/gcc-5 bin/gcc
@@ -134,6 +135,7 @@ jobs:
134135
- g++-5
135136
- libubsan0
136137
- jq
138+
- gdb
137139
before_install:
138140
- mkdir bin
139141
- ln -s /usr/bin/gcc-5 bin/gcc
@@ -162,6 +164,7 @@ jobs:
162164
- libstdc++-5-dev
163165
- libubsan0
164166
- jq
167+
- gdb
165168
before_install:
166169
- mkdir bin
167170
- ln -s /usr/bin/gcc-5 bin/gcc
@@ -189,6 +192,7 @@ jobs:
189192
packages:
190193
- g++-7
191194
- jq
195+
- gdb
192196
before_install:
193197
- mkdir bin
194198
- ln -s /usr/bin/gcc-7 bin/gcc
@@ -249,6 +253,7 @@ jobs:
249253
- libubsan0
250254
- parallel
251255
- jq
256+
- gdb
252257
before_install:
253258
- mkdir bin
254259
# Use gcc/g++ 5 for tests, as Clang doesn't work yet

buildspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ phases:
88
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA9EF27F
99
- add-apt-repository ppa:openjdk-r/ppa -y
1010
- apt-get update -y
11-
- apt-get install -y g++-5 flex bison make git libwww-perl patch ccache libc6-dev-i386 jq
11+
- apt-get install -y g++-5 flex bison make git libwww-perl patch ccache libc6-dev-i386 jq gdb
1212
- apt-get install -y openjdk-8-jdk
1313
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
1414
- update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1

0 commit comments

Comments
 (0)