Skip to content

Commit

Permalink
Clean up ext/Setup file
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Mar 10, 2024
1 parent 0fb39ab commit fb00d00
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/compilers.yml
Expand Up @@ -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
Expand Down

0 comments on commit fb00d00

Please sign in to comment.