diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-02-04 17:09:45 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-02-04 17:09:45 +0900 |
| commit | 3f37b4fe0c19951099c6292872a5def0bcdee413 (patch) | |
| tree | 59c5cc8dd2ede5b219c3e1faf748cf91bf220250 /.github | |
| parent | ae8990aef098410ecc2b5f48fea9d7d171a3c5f6 (diff) | |
Extend tests for ext/Setup
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/compilers.yml | 13 |
1 files changed, 9 insertions, 4 deletions
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 |
