Skip to content

Commit

Permalink
build: update latest and unstable target platform
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Dec 10, 2024
1 parent 58fb548 commit dbc7db6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ defaults:
shell: bash


env:
JAVA_VERSION: 17


jobs:

###########################################################
Expand Down Expand Up @@ -132,6 +128,11 @@ jobs:
# at org.eclipse.urischeme.AutoRegisterSchemeHandlersJob.run(AutoRegisterSchemeHandlersJob.java:85)
sudo apt-get install --no-install-recommends -y xdg-utils
- name: "Set Java Version"
run: echo "JAVA_VERSION=$([[ '${{ matrix.target-platform }}' == 'oldest' ]] && echo 17 || echo 21)" >> $GITHUB_ENV


- name: "Install: JDK ${{ env.JAVA_VERSION }} ☕"
uses: actions/setup-java@v4 # https://github.com/actions/setup-java
with:
Expand Down
10 changes: 5 additions & 5 deletions target-platforms/latest.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<repository location="https://download.eclipse.org/cbi/updates/license"/>
</location>

<!-- 4.32 = Eclipse 2024-06 -->
<!-- 4.34 = Eclipse 2024-12 -->

<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.google.gson" version="0.0.0"/>
Expand All @@ -21,7 +21,7 @@
<unit id="org.joni.source" version="0.0.0"/>
<unit id="org.snakeyaml.engine" version="0.0.0"/>
<unit id="org.snakeyaml.engine.source" version="0.0.0"/>
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-06"/>
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-12"/>
</location>

<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
Expand All @@ -32,9 +32,9 @@
<unit id="junit-jupiter-api" version="0.0.0"/>
<unit id="org.eclipse.jdt.junit5.runtime" version="0.0.0"/>
<unit id="org.eclipse.ui.trace" version="0.0.0"/>
<repository location="https://download.eclipse.org/eclipse/updates/4.32"/>
<repository location="https://download.eclipse.org/eclipse/updates/4.34"/>
</location>
</locations>

<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
</target>
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21"/>
</target>
2 changes: 1 addition & 1 deletion target-platforms/oldest.target
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
</locations>

<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
</target>
</target>
10 changes: 5 additions & 5 deletions target-platforms/unstable.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<repository location="https://download.eclipse.org/cbi/updates/license"/>
</location>

<!-- 4.34 = Eclipse 2024-12 -->
<!-- 4.35 = Eclipse 2025-03 -->

<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.google.gson" version="0.0.0"/>
Expand All @@ -21,7 +21,7 @@
<unit id="org.joni.source" version="0.0.0"/>
<unit id="org.snakeyaml.engine" version="0.0.0"/>
<unit id="org.snakeyaml.engine.source" version="0.0.0"/>
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-12"/>
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2025-03"/>
</location>

<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
Expand All @@ -32,9 +32,9 @@
<unit id="junit-jupiter-api" version="0.0.0"/>
<unit id="org.eclipse.jdt.junit5.runtime" version="0.0.0"/>
<unit id="org.eclipse.ui.trace" version="0.0.0"/>
<repository location="https://download.eclipse.org/eclipse/updates/4.34-I-builds"/>
<repository location="https://download.eclipse.org/eclipse/updates/4.35-I-builds"/>
</location>
</locations>

<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
</target>
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21"/>
</target>

0 comments on commit dbc7db6

Please sign in to comment.