Daily Build #92
This file contains 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: "Daily Build" | |
on: | |
workflow_dispatch: | |
jobs: | |
windows-build-jvm-latest: | |
name: Daily - Windows - JVM build - Latest Version | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
java: [ 17 ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install JDK {{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
check-latest: true | |
- name: Set code page to 65001 | |
run: chcp 65001 | |
- name: Set up Maven settings.xml # we need to do this because of CLI and external app tests does not propagate '-s' option | |
shell: pwsh | |
run: Copy-Item -Path ".github/quarkus-snapshots-mvn-settings.xml" -Destination "$env:USERPROFILE/.m2/settings.xml" | |
- name: Download Quarkus CLI | |
shell: bash | |
run: mvn -B --no-transfer-progress org.apache.maven.plugins:maven-dependency-plugin:get -Dartifact=io.quarkus:quarkus-cli:999-SNAPSHOT:jar:runner | |
- name: Install Quarkus CLI | |
shell: pwsh | |
run: | | |
$contentToAdd = @" | |
@ECHO OFF | |
java -jar \"%HOMEDRIVE%%HOMEPATH%\.m2\repository\io\quarkus\quarkus-cli\999-SNAPSHOT\quarkus-cli-999-SNAPSHOT-runner.jar\" %* | |
"@ | |
New-Item -Path "$(pwd)\quarkus-dev-cli.bat" -ItemType File | |
Set-Content -Path "$(pwd)\quarkus-dev-cli.bat" -Value $contentToAdd | |
get-content "$(pwd)\quarkus-dev-cli.bat" | |
./quarkus-dev-cli.bat version | |
- name: Build in JVM mode | |
shell: bash | |
run: | | |
mvn -B --no-transfer-progress -fae -s .github/quarkus-snapshots-mvn-settings.xml clean verify -f quarkus-cli -D"include.quarkus-cli-tests" -D"ts.quarkus.cli.cmd=$(pwd)\quarkus-dev-cli.bat" -D"gh-action-disable-on-win" -D"it.test=QuarkusCliVersionIT" |