8888 with :
8989 targets : x86_64-unknown-linux-gnu
9090 - run : chmod +x ./x
91+ - run : ./x doctor
9192 - run : ../../x build --platform linux --arch x64
9293 working-directory : examples/${{ matrix.artifact }}
9394 - run : tar --zstd -cf ${{ matrix.artifact }}.AppDir.tar.zst ${{ matrix.artifact }}.AppDir
@@ -122,6 +123,7 @@ jobs:
122123 with :
123124 targets : x86_64-unknown-linux-gnu
124125 - run : chmod +x ./x
126+ - run : ./x doctor
125127 - run : ../../x build --platform linux --arch x64 --release
126128 working-directory : examples/${{ matrix.artifact }}
127129 - uses : actions/upload-artifact@v2
@@ -153,6 +155,7 @@ jobs:
153155 with :
154156 targets : x86_64-apple-darwin
155157 - run : chmod +x ./x
158+ - run : ./x doctor
156159 - run : ../../x build --platform macos --arch x64
157160 working-directory : examples/${{ matrix.artifact }}
158161 - run : tar --zstd -cf ${{ matrix.artifact }}.app.tar.zst ${{ matrix.artifact }}.app
@@ -178,6 +181,7 @@ jobs:
178181 with :
179182 targets : x86_64-apple-darwin
180183 - run : chmod +x ./x
184+ - run : ./x doctor
181185 - run : ../../x build --platform macos --arch x64
182186 working-directory : examples/${{ matrix.artifact }}
183187 - run : gtar --zstd -cf ${{ matrix.artifact }}.app.tar.zst ${{ matrix.artifact }}.app
@@ -203,6 +207,7 @@ jobs:
203207 - uses : hecrj/setup-rust-action@v1
204208 with :
205209 targets : x86_64-apple-darwin
210+ - run : ./x.exe doctor
206211 - run : ../../x.exe build --platform macos --arch x64
207212 working-directory : examples/${{ matrix.artifact }}
208213 - run : tar --zstd -cf ${{ matrix.artifact }}.app.tar.zst ${{ matrix.artifact }}.app
@@ -232,6 +237,7 @@ jobs:
232237 with :
233238 targets : x86_64-apple-darwin
234239 - run : chmod +x ./x
240+ - run : ./x doctor
235241 - run : ../../x build --platform macos --arch x64 --release
236242 working-directory : examples/${{ matrix.artifact }}
237243 - uses : actions/upload-artifact@v2
@@ -264,6 +270,7 @@ jobs:
264270 with :
265271 targets : x86_64-pc-windows-msvc
266272 - run : chmod +x ./x
273+ - run : ./x doctor
267274 - run : ../../x build --platform windows --arch x64
268275 working-directory : examples/${{ matrix.artifact }}
269276 - uses : actions/upload-artifact@v2
@@ -293,6 +300,7 @@ jobs:
293300 with :
294301 targets : x86_64-pc-windows-msvc
295302 - run : chmod +x ./x
303+ - run : ./x doctor
296304 - run : ../../x build --platform windows --arch x64
297305 working-directory : examples/${{ matrix.artifact }}
298306 - uses : actions/upload-artifact@v2
@@ -315,6 +323,7 @@ jobs:
315323 - uses : hecrj/setup-rust-action@v1
316324 with :
317325 targets : x86_64-pc-windows-msvc
326+ - run : ./x doctor
318327 - run : ../../x build --platform windows --arch x64
319328 working-directory : examples/${{ matrix.artifact }}
320329 - uses : actions/upload-artifact@v2
@@ -341,6 +350,7 @@ jobs:
341350 - uses : hecrj/setup-rust-action@v1
342351 with :
343352 targets : x86_64-pc-windows-msvc
353+ - run : ./x doctor
344354 - run : ../../x build --platform windows --arch x64 --release
345355 working-directory : examples/${{ matrix.artifact }}
346356 - uses : actions/upload-artifact@v2
@@ -365,14 +375,15 @@ jobs:
365375 - uses : actions/download-artifact@v2
366376 with :
367377 name : ubuntu-latest-x
368- - run : chmod +x ./x
369378 - uses : actions/setup-java@v2
370379 with :
371380 distribution : temurin
372381 java-version : 11
373382 - uses : hecrj/setup-rust-action@v1
374383 with :
375384 targets : aarch64-linux-android
385+ - run : chmod +x ./x
386+ - run : ./x doctor
376387 - run : ../../x build --platform android --arch arm64 --${{ matrix.opt }}
377388 working-directory : examples/${{ matrix.artifact }}
378389 - uses : actions/upload-artifact@v2
@@ -406,6 +417,7 @@ jobs:
406417 - run : sudo mkdir -p /usr/local/bin
407418 - run : sudo ln -s lld-13 /usr/local/bin/lld
408419 - run : chmod +x ./x
420+ - run : ./x doctor
409421 - run : ../../x build --platform android --arch arm64 --${{ matrix.opt }}
410422 working-directory : examples/${{ matrix.artifact }}
411423 - uses : actions/upload-artifact@v2
@@ -433,6 +445,7 @@ jobs:
433445 - uses : hecrj/setup-rust-action@v1
434446 with :
435447 targets : aarch64-linux-android
448+ - run : ./x doctor
436449 - run : ../../x build --platform android --arch arm64 --${{ matrix.opt }}
437450 working-directory : examples/${{ matrix.artifact }}
438451 - uses : actions/upload-artifact@v2
@@ -458,7 +471,6 @@ jobs:
458471 - uses : actions/download-artifact@v2
459472 with :
460473 name : ubuntu-latest-x
461- - run : chmod +x ./x
462474 - uses : KyleMayes/install-llvm-action@v1
463475 with :
464476 version : 13
@@ -467,6 +479,8 @@ jobs:
467479 - uses : hecrj/setup-rust-action@v1
468480 with :
469481 targets : aarch64-apple-ios
482+ - run : chmod +x ./x
483+ - run : ./x doctor
470484 - run : ../../x build --platform ios --arch arm64 --${{ matrix.opt }}
471485 working-directory : examples/${{ matrix.artifact }}
472486 env :
@@ -493,7 +507,6 @@ jobs:
493507 - uses : actions/download-artifact@v2
494508 with :
495509 name : macos-latest-x
496- - run : chmod +x ./x
497510 - uses : KyleMayes/install-llvm-action@v1
498511 with :
499512 version : 13
@@ -503,6 +516,8 @@ jobs:
503516 - uses : hecrj/setup-rust-action@v1
504517 with :
505518 targets : aarch64-apple-ios
519+ - run : chmod +x ./x
520+ - run : ./x doctor
506521 - run : ../../x build --platform ios --arch arm64 --${{ matrix.opt }}
507522 working-directory : examples/${{ matrix.artifact }}
508523 env :
@@ -531,6 +546,7 @@ jobs:
531546 with :
532547 name : windows-latest-x
533548 - run : chmod +x ./x
549+ - run : ./x doctor
534550 - uses : hecrj/setup-rust-action@v1
535551 with :
536552 targets : aarch64-apple-ios
0 commit comments