[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for test-jar artifacts #281

Merged
merged 3 commits into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix failing tests
CI tweaks

Signed-off-by: Lazar Mitrović <lazar.mitrovic@oracle.com>
  • Loading branch information
lazar-mitrovic committed Aug 9, 2022
commit 54aaf138767585f6dc102074b16544924f38ab4e
2 changes: 1 addition & 1 deletion .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
graalvm-version: [ dev ]
graalvm-version: [ latest ]
java-version: [ 11 ]
os: [ ubuntu-20.04 ]
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
graalvm-version: [ dev ]
graalvm-version: [ latest ]
java-version: [ 11 ]
os: [ ubuntu-20.04 ]
steps:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test-native-gradle-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
graalvm-version: [ dev ]
graalvm-version: [ latest ] # dev
java-version: [ 11 ]
os: [ ubuntu-20.04 ]
steps:
Expand All @@ -53,8 +53,10 @@ jobs:
strategy:
fail-fast: false
matrix:
gradle-version: ["current", "7.3.3", "7.2", "7.1", "6.8.3", "6.7.1"]
graalvm-version: [ dev ]
gradle-version: ["current", "6.7.1"]
# Following versions are disabled temporarily in order to speed up PR testing
# "7.3.3", "7.2", "7.1", "6.8.3"
graalvm-version: [ latest ] # dev
java-version: [ 11 ]
os: [ ubuntu-20.04 ]
steps:
Expand All @@ -81,7 +83,7 @@ jobs:
strategy:
fail-fast: false
matrix:
graalvm-version: [ dev ]
graalvm-version: [ latest ]
java-version: [ 11 ]
os: [ windows-latest ]
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-native-maven-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
graalvm-version: [ dev ]
graalvm-version: [ latest ] # dev
java-version: [ 11 ]
os: [ ubuntu-20.04 ]
steps:
Expand All @@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
graalvm-version: [ dev ]
graalvm-version: [ latest ] # dev
java-version: [ 11 ]
os: [ windows-latest ]
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ class JavaApplicationFunctionalTest extends AbstractGraalVMMavenFunctionalTest {

when:
mvn '-Pnative', '-DskipTests', '-DnativeDryRun', '-DuseArgFile=false',
'-Dclasspath=/testcp', '-Ddebug', '-Dfallback=false', '-Dverbose', '-DsharedLibrary',
'-Dclasspath=/', '-Ddebug', '-Dfallback=false', '-Dverbose', '-DsharedLibrary',
'-DquickBuild',
'package'

then:
buildSucceeded
outputContains "native-image -cp /testcp -g --no-fallback --verbose --shared -Ob"
outputContains "native-image -cp / -g --no-fallback --verbose --shared -Ob"
}

def "can build and execute a native image with the Maven plugin"() {
Expand Down