summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-03-08 19:31:49 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-03-10 22:18:03 +0900
commitfb00d002e669373e17b974cf66b1e839d19c93f5 (patch)
tree02ed6e8846755e75d6f359431a444830eb9b498b
parent0fb39ab1b9a6df8e668196c721440556938a7641 (diff)
Clean up ext/Setup file
-rw-r--r--.github/workflows/compilers.yml13
1 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml
index bec6904374..cb23375bab 100644
--- a/.github/workflows/compilers.yml
+++ b/.github/workflows/compilers.yml
@@ -252,14 +252,23 @@ jobs:
--${{ matrix.entry.shared || 'enable' }}-shared
- name: Add to ext/Setup
+ id: ext-setup
run: |
mkdir ext
cd ext
- for ext in {${{ matrix.entry.static-exts }}}/extconf.rb; do
- echo ${ext%/extconf.rb}
+ for ext in {${{ matrix.entry.static-exts }}}; do
+ echo "${ext}"
done >> Setup
if: ${{ (matrix.entry.static-exts || '') != '' }}
+ - name: Clean up ext/Setup
+ uses: gacts/run-and-post-run@674528335da98a7afc80915ff2b4b860a0b3553a # v1.4.0
+ with:
+ shell: bash
+ working-directory: build
+ post: rm ext/Setup
+ if: ${{ steps.ext-setup.outcome == 'success' }}
+
- run: make showflags
- run: make