Skip to content

Commit

Permalink
build: Removed native-image step
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Ruaux committed May 26, 2023
1 parent 55e4bfb commit 43e65f1
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ environment:
properties:
jdkPathPrefix: 'plugins/riot/build/jdks'
jdkFilePrefix: 'zulu17.32.13-ca-jdk17.0.2'
graalFilePrefix: 'graalvm-ce-java17-22.3.0'
nativeImageDir: out/riot/assemble/riot-native/native-image
jpackageDir: out/riot/assemble/riot-installer/jpackage

project:
Expand Down Expand Up @@ -207,36 +205,6 @@ assemble:
icon: 'src/media/riot.ico'
resourceDir: 'src/jpackage/windows'

nativeImage:
riot-native:
active: ALWAYS
java:
version: 17
imageName: '{{distributionName}}-{{projectEffectiveVersion}}'
executable: riot
fileSets:
- input: '.'
includes:
- LICENSE
mainJar:
path: 'plugins/riot/build/libs/riot-{{projectVersion}}.jar'
jars:
- pattern: 'plugins/riot/build/dependencies/flat/*.jar'
- pattern: 'plugins/riot/build/dependencies/graalvm/*.jar'
graalJdks:
- path: '{{jdkPathPrefix}}/graal17Osx/{{graalFilePrefix}}/Contents/Home'
platform: 'osx-x86_64'
- path: '{{jdkPathPrefix}}/graal17Linux/{{graalFilePrefix}}'
platform: 'linux-x86_64'
upx:
active: ALWAYS
version: '3.96'
args:
- '-Duser.language=en'
- '-H:IncludeLocales=en,ca,de,es,fr,hi,it,ja,nl,pt_BR,zh_TW,ru,ko'
- '-H:Optimize=2'
- '-H:+RemoveUnusedSymbols'

distributions:
riot:
flatpak:
Expand Down Expand Up @@ -393,13 +361,6 @@ distributions:
transform: '{{distributionName}}/{{distributionName}}-{{projectEffectiveVersion}}-windows-x86_64.msi'
platform: 'windows-x86_64'

riot-native:
artifacts:
- path: '{{nativeImageDir}}/{{distributionName}}-{{projectEffectiveVersion}}-osx-x86_64.zip'
platform: 'osx-x86_64'
- path: '{{nativeImageDir}}/{{distributionName}}-{{projectEffectiveVersion}}-linux-x86_64.zip'
platform: 'linux-x86_64'

files:
artifacts:
- path: VERSION
Expand Down

0 comments on commit 43e65f1

Please sign in to comment.