update integration-test/telnet-stop-leak/commands.txt #1669
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: JavaCI | |
| on: [push, pull_request] | |
| jobs: | |
| ubuntu_build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java: [8, 11, 17, 21, 25] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup java | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: "zulu" | |
| cache: "maven" | |
| - name: Build with Maven | |
| run: mvn -V -ntp clean install -P full verify | |
| windows_build: | |
| runs-on: windows-2022 | |
| strategy: | |
| matrix: | |
| java: [8, 11] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup java | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: "zulu" | |
| cache: "maven" | |
| - name: Build with Maven | |
| run: mvn -V -ntp clean install -P full | |
| macos_build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| java: [8, 11] | |
| os: | |
| - macos-latest | |
| - macos-14 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup java | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: "zulu" | |
| cache: "maven" | |
| - name: Build with Maven | |
| run: mvn -V -ntp clean install -P full | |
| telnet_stop_leak_it: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup java | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: 17 | |
| distribution: "zulu" | |
| cache: "maven" | |
| - name: Install expect/telnet | |
| run: sudo apt-get update && sudo apt-get install -y expect telnet | |
| - name: Build packaging | |
| run: mvn -V -ntp clean install -P full -DskipTests | |
| - name: Run telnet stop leak test | |
| run: python3 integration-test/telnet-stop-leak/run_telnet_stop_leak_test.py --iterations 10 --warmup 2 --threshold 5 --work-dir integration-test/telnet-stop-leak/work | |
| - name: Upload artifacts on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: telnet-stop-leak-logs | |
| path: integration-test/telnet-stop-leak/work |