@@ -102,7 +102,7 @@ jobs:
102
102
- name : display per-line timing info
103
103
run : etc/ci/github-actions-display-per-line-timing.sh
104
104
105
- test-standalone :
105
+ test-standalone-host :
106
106
strategy :
107
107
fail-fast : false
108
108
matrix :
@@ -135,10 +135,34 @@ jobs:
135
135
printf '::warning::Debian ${{ matrix.debian }} binary does not run on ubuntu: %s\n' \
136
136
"$(etc/ci/test-run-fiat-crypto.sh dist/fiat_crypto 2>&1 | tr '\n' '~' | sed 's/~/%0A/g')";
137
137
}
138
- - name : setup Debian chroot
139
- run : etc/ci/setup-debian-chroot.sh "${{ matrix.debian }}"
138
+
139
+ test-standalone-container :
140
+ strategy :
141
+ fail-fast : false
142
+ matrix :
143
+ include :
144
+ - debian : sid
145
+ # - debian: bookworm # restore once 8.17 lands in Debian stable
146
+ runs-on : ubuntu-latest
147
+ container : debian:${{ matrix.debian }}
148
+ needs : build
149
+ steps :
150
+ - uses : actions/checkout@v4
151
+ - name : Download standalone ${{ matrix.debian }}
152
+ uses : actions/download-artifact@v4
153
+ with :
154
+ name : standalone-${{ matrix.debian }}
155
+ path : dist/
156
+ - name : install system dependencies
157
+ run : |
158
+ apt-get -o Acquire::Retries=30 update -y
159
+ apt-get -q -y --allow-unauthenticated -o Acquire::Retries=30 install sudo time file
160
+ - name : List files
161
+ run : find dist
162
+ - run : chmod +x dist/fiat_crypto
163
+ - name : host build params
164
+ run : etc/ci/describe-system-config.sh
140
165
- name : Test files (container)
141
- shell : in-debian-chroot.sh {0}
142
166
run : |
143
167
echo "::group::file fiat_crypto"
144
168
file dist/fiat_crypto
@@ -187,18 +211,22 @@ jobs:
187
211
188
212
debian-check-all :
189
213
runs-on : ubuntu-latest
190
- needs : [build, test-standalone, publish-standalone-dry-run]
214
+ needs : [build, test-standalone-host, test-standalone-container , publish-standalone-dry-run]
191
215
if : always()
192
216
steps :
193
217
- run : echo 'build passed'
194
218
if : ${{ needs.build.result == 'success' }}
195
- - run : echo 'test-standalone passed'
196
- if : ${{ needs.test-standalone.result == 'success' }}
219
+ - run : echo 'test-standalone-host passed'
220
+ if : ${{ needs.test-standalone-host.result == 'success' }}
221
+ - run : echo 'test-standalone-container passed'
222
+ if : ${{ needs.test-standalone-container.result == 'success' }}
197
223
- run : echo 'publish-standalone-dry-run passed'
198
224
if : ${{ needs.publish-standalone-dry-run.result == 'success' }}
199
225
- run : echo 'build failed' && false
200
226
if : ${{ needs.build.result != 'success' }}
201
- - run : echo 'test-standalone failed' && false
202
- if : ${{ needs.test-standalone.result != 'success' }}
227
+ - run : echo 'test-standalone-host failed' && false
228
+ if : ${{ needs.test-standalone-host.result != 'success' }}
229
+ - run : echo 'test-standalone-container failed' && false
230
+ if : ${{ needs.test-standalone-container.result != 'success' }}
203
231
- run : echo 'publish-standalone-dry-run failed' && false
204
232
if : ${{ needs.publish-standalone-dry-run.result != 'success' }}
0 commit comments