Skip to content

Commit 49066fd

Browse files
committed
[Build] Add GH workflow build for aggregator
1 parent cb06df3 commit 49066fd

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Continuous Integration
2+
concurrency:
3+
group: ${{ github.workflow }}-${{ github.ref }}
4+
cancel-in-progress: true
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
uses: ./.github/workflows/mavenBuild.yml
15+
with:
16+
maven-goals: clean verify -Pjavadoc -DskipTests -Dcbi-ecj-version=99.99
17+
submodules: true
18+
extra-setup: |
19+
git submodule update --remote
20+
mvn clean install -U -pl :eclipse-sdk-prereqs,:org.eclipse.jdt.core.compiler.batch -DlocalEcjVersion=99.99

.github/workflows/mavenBuild.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ on:
1515
type: string
1616
required: false
1717
default: 'false'
18+
extra-setup:
19+
description: Optional command executed initially to perform additional setup of the build environment
20+
type: string
21+
required: false
22+
default: ''
1823
mavenVersion:
1924
description: 'The version of Maven set up'
2025
type: string
@@ -58,6 +63,8 @@ jobs:
5863

5964
name: Verify ${{ matrix.config.name }}
6065
steps:
66+
- name: Enable git longpaths
67+
run: git config --global core.longpaths true
6168
- name: Checkout
6269
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6370
with:
@@ -87,6 +94,11 @@ jobs:
8794
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/actions/install-maven-parent-action@master
8895
if : inputs.without-EF-infra
8996

97+
- name: Additional setup
98+
if: inputs.extra-setup
99+
run: |
100+
${{ inputs.extra-setup }}
101+
90102
- name: Build with Maven
91103
run: >-
92104
${{ runner.os == 'Linux' && 'xvfb-run' || '' }}

0 commit comments

Comments
 (0)