@@ -118,6 +118,10 @@ jobs:
118118 if : matrix.id == 'normal'
119119 run : |
120120 MAKE_ARG=-j OCAMLRUNPARAM=b,v=0 bash -xe tools/ci/actions/runner.sh install
121+ - name : Test in prefix
122+ if : matrix.id == 'normal'
123+ run : |
124+ MAKE_ARG=-j OCAMLRUNPARAM=b,v=0 bash -xe tools/ci/actions/runner.sh test-in-prefix
121125 - name : Build the manual
122126 if : false
123127 run : |
@@ -143,9 +147,12 @@ jobs:
143147 let jobs = [
144148 {name: 'no-naked-pointers', os: 'ubuntu-latest',
145149 config_arg: '--disable-naked-pointers --disable-stdlib-manpages'},
146- {name: 'linux-arm64', os: 'ubuntu-24.04-arm'},
147- {name: 'macos-x86_64', os: 'macos-15-intel'},
148- {name: 'macos-arm64', os: 'macos-latest'}];
150+ {name: 'linux-arm64', os: 'ubuntu-24.04-arm',
151+ 'test-in-prefix': true},
152+ {name: 'macos-x86_64', os: 'macos-15-intel',
153+ 'test-in-prefix': true},
154+ {name: 'macos-arm64', os: 'macos-latest',
155+ 'test-in-prefix': true}];
149156 // # If this is a pull request, see if the PR has the
150157 // # 'CI: Full matrix' label. This is done using an API request,
151158 // # rather than from context.payload.pull_request.labels, since we
@@ -161,7 +168,8 @@ jobs:
161168 // # Add "static" and "minimal" jobs
162169 jobs = jobs.concat([
163170 {name: 'static', os: 'ubuntu-latest',
164- config_arg: '--disable-shared'},
171+ config_arg: '--disable-shared',
172+ 'test-in-prefix': true},
165173 {name: 'minimal', os: 'ubuntu-latest',
166174 config_arg: '--disable-native-compiler --disable-shared --disable-debug-runtime --disable-instrumented-runtime --disable-systhreads --disable-str-lib --disable-unix-lib --disable-ocamldoc'}]);
167175 }
@@ -208,6 +216,14 @@ jobs:
208216 if : ${{ matrix.name != 'linux-O0' && needs.config.outputs.skip-testsuite != 'true' }}
209217 run : |
210218 bash -c 'SHOW_TIMINGS=1 tools/ci/actions/runner.sh test'
219+ - name : Install
220+ if : ${{ matrix.test-in-prefix }}
221+ run : |
222+ MAKE_ARG=-j OCAMLRUNPARAM=b,v=0 bash -xe tools/ci/actions/runner.sh install
223+ - name : Test in prefix
224+ if : ${{ matrix.test-in-prefix }}
225+ run : |
226+ MAKE_ARG=-j OCAMLRUNPARAM=b,v=0 bash -xe tools/ci/actions/runner.sh test-in-prefix
211227
212228 i386 :
213229 runs-on : ubuntu-latest
@@ -235,3 +251,9 @@ jobs:
235251 if : ${{ needs.config.outputs.skip-testsuite != 'true' }}
236252 run : |
237253 su ocaml -c "bash -xe tools/ci/actions/runner.sh test"
254+ - name : Install
255+ run : |
256+ su ocaml -c "bash -xe tools/ci/actions/runner.sh install"
257+ - name : Test in prefix
258+ run : |
259+ su ocaml -c "bash -xe tools/ci/actions/runner.sh test-in-prefix"
0 commit comments