retry Windows client test

This commit is contained in:
xuwei-k 2025-10-04 20:31:45 +09:00
parent 028248f73e
commit 7cf625281b
1 changed files with 10 additions and 2 deletions

View File

@ -75,12 +75,20 @@ jobs:
sbt -Dsbt.build.version=$TEST_SBT_VER integrationTest/test
# This fails due to the JLine issue
# cd citest && ./test.sh
- name: build image (Windows)
if: ${{ matrix.os == 'windows-latest' }}
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
with:
timeout_minutes: 10
max_attempts: 3
shell: bash
command: |
# test building sbtn on Windows
sbt "-Dsbt.io.virtual=false" nativeImage
- name: Client test (Windows)
if: ${{ matrix.os == 'windows-latest' }}
shell: bash
run: |
# test building sbtn on Windows
sbt "-Dsbt.io.virtual=false" nativeImage
# smoke test native Image
./client/target/bin/sbtn --sbt-script=$(pwd)/launcher-package/src/universal/bin/sbt.bat about
./client/target/bin/sbtn --sbt-script=$(pwd)/launcher-package/src/universal/bin/sbt.bat shutdown