File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ jobs:
1616 matrix :
1717 ruby : ${{ fromJson(needs.ruby-versions.outputs.versions) }}
1818 os : [ ubuntu-latest, macos-latest ]
19+ target : [ libedit, libreadline ]
1920 runs-on : ${{ matrix.os }}
2021 steps :
2122 - uses : actions/checkout@v4
2223 - name : Install libedit
23- run : sudo apt-get install -q libedit -dev libedit2
24+ run : sudo apt-get install -q ${{ matrix.target }} -dev
2425 if : startsWith(matrix.os, 'ubuntu')
2526 - name : Install libedit
2627 run : brew install libedit
3738 run : rake compile test
3839 - name : Run test with libedit enabled
3940 run : rake clobber compile test -- --enable-libedit
41+ if : matrix.target == 'libedit'
4042 - name : Run test with libedit disabled
4143 run : rake clobber compile test -- --disable-libedit
44+ if : matrix.target == 'libreadline'
You can’t perform that action at this time.
0 commit comments