Skip to content

Add support for TargetDefinition#implicitDependencies #2731

Add support for TargetDefinition#implicitDependencies

Add support for TargetDefinition#implicitDependencies #2731

# This workflow will build a "Eclipse Platform Individual Bundles" using the eclipse.platform repository as it contains the largest set of inter-related bundles
# For more information see: https://github.com/eclipse-platform/eclipse.platform
name: Verify Eclipse Platform Individual Bundles Build
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- 'main'
jobs:
build-individual-bundles:
runs-on: ubuntu-latest
steps:
- name: Checkout tycho code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: 'tycho'
- name: Checkout platform code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: 'platform'
submodules: 'recursive'
lfs: true
repository: 'eclipse-platform/eclipse.platform'
fetch-depth: 0
- name: Set up Java
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: |
11
21
17
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-verify-platform-individual-${{ hashFiles('**/pom.xml', '**/*.target') }}
restore-keys: |
${{ runner.os }}-maven-verify-platform-individual-
- name: Set up Maven
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.9
- name: Build Tycho
env:
JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }}
working-directory: 'tycho'
run: >-
mvn -U -V -e -B -ntp
-DskipTests
--file pom.xml
-T1C
clean install
- name: Run Platform Build
env:
JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }}
working-directory: 'platform'
run: >-
xvfb-run mvn
--batch-mode
-Pbuild-individual-bundles
-Pbree-libs
-Dmaven.test.failure.ignore=true
-Dtycho.version=$(mvn help:evaluate -f ${{ github.workspace }}/tycho -Dexpression=project.version -q -DforceStdout)
-T1C
clean verify