From 3f37b4fe0c19951099c6292872a5def0bcdee413 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 4 Feb 2024 17:09:45 +0900 Subject: Extend tests for ext/Setup --- .github/workflows/compilers.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to '.github') diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index 95a89a1a97..c662490482 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -110,7 +110,7 @@ jobs: shared: disable # check: true - - { name: ext/Setup } + - { name: ext/Setup, static-exts: 'etc,json/*,*/escape' } # - { name: aarch64-linux-gnu, crosshost: aarch64-linux-gnu, container: crossbuild-essential-arm64 } # - { name: arm-linux-gnueabi, crosshost: arm-linux-gnueabi } @@ -258,9 +258,14 @@ jobs: }} --${{ matrix.entry.shared || 'enable' }}-shared - - name: Add to ext/Setup # statically link just the etc extension - run: mkdir ext && echo etc >> ext/Setup - if: ${{ matrix.entry.name == 'ext/Setup' }} + - name: Add to ext/Setup + run: | + mkdir ext + cd ext + for ext in {${{ matrix.entry.static-exts }}}/extconf.rb; do + echo ${ext%/extconf.rb} + done >> Setup + if: ${{ (matrix.entry.static-exts || '') != '' }} - run: make showflags -- cgit v1.2.3