Skip to content

Commit 6520242

Browse files
committed
Disable static build for ubuntu-20.04
See #2620 (comment)
1 parent 4a4ba88 commit 6520242

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@ jobs:
1313
matrix:
1414
compiler: [gcc, clang]
1515
image: [ubuntu-20.04, ubuntu-22.04]
16+
include:
17+
- compiler: gcc
18+
image: ubuntu-20.04
19+
configure_flag: ''
20+
- compiler: gcc
21+
image: ubuntu-22.04
22+
configure_flag: --enable-static --enable-all-static
23+
- compiler: clang
24+
image: ubuntu-20.04
25+
configure_flag: ''
26+
- compiler: clang
27+
image: ubuntu-22.04
28+
configure_flag: --enable-static --enable-all-static
1629
runs-on: ${{ matrix.image }}
1730
env:
1831
CC: ${{ matrix.compiler }}
@@ -40,8 +53,7 @@ jobs:
4053
--disable-maintainer-mode \
4154
--disable-valgrind \
4255
--with-oniguruma=builtin \
43-
--enable-static \
44-
--enable-all-static \
56+
${{ matrix.configure_flag }} \
4557
YACC="$(which bison) -y"
4658
make
4759
- name: Test

0 commit comments

Comments
 (0)