Skip to content

Commit e663dab

Browse files
committed
[Build] Add GH workflow build for aggregator
1 parent 420686a commit e663dab

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-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
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 -Dtycho.version=4.0.12

.github/workflows/mavenBuild.yml

Lines changed: 10 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
@@ -80,6 +85,11 @@ jobs:
8085
with:
8186
tycho-version: 4.0.12
8287

88+
- name: Additional setup
89+
if: inputs.extra-setup
90+
run: |
91+
${{ inputs.extra-setup }}
92+
8393
- name: Download the API Tools matcher
8494
uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # v1.6.0
8595
id: api-tools-matcher

0 commit comments

Comments
 (0)