Skip to content

Commit

Permalink
Merge pull request #1376 from jsmrcka/fix/quarkus-ci-ecosystem-cli
Browse files Browse the repository at this point in the history
Install Quarkus CLI in Quarkus Ecosystem GH action
  • Loading branch information
rsvoboda committed Aug 25, 2023
2 parents d0bacb7 + f6ea4db commit fbac840
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/ci-init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
echo "Installing Quarkus CLI"
jbang app install --force --name quarkus "io.quarkus:quarkus-cli:${QUARKUS_VERSION}:runner"
if "${HOME}/.jbang/bin/quarkus" --version; then
echo "Quarkus CLI installed successfully"
else
echo "Failed to install Quarkus CLI"
exit 1
fi
4 changes: 2 additions & 2 deletions .github/quarkus-ecosystem-test
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e

# run the tests on JVM
mvn -fae -V -B -s .github/mvn-settings.xml -fae clean verify -P $MAVEN_PROFILES
mvn -fae -V -B -s .github/mvn-settings.xml -fae clean verify -P $MAVEN_PROFILES -Dts.quarkus.cli.cmd="${HOME}/.jbang/bin/quarkus"

# run the tests on Native
mvn -fae -V -B -s .github/mvn-settings.xml -fae clean verify -P $MAVEN_PROFILES -Dnative -Dquarkus.native.container-build=true -Dquarkus.native.native-image-xmx=5g
mvn -fae -V -B -s .github/mvn-settings.xml -fae clean verify -P $MAVEN_PROFILES -Dnative -Dquarkus.native.container-build=true -Dquarkus.native.native-image-xmx=5g -Dts.quarkus.cli.cmd="${HOME}/.jbang/bin/quarkus"

0 comments on commit fbac840

Please sign in to comment.