Skip to content

Commit 3bba108

Browse files
committed
[Build] Add GH workflow build for aggregator
1 parent 721b43b commit 3bba108

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

.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
@@ -53,6 +58,8 @@ jobs:
5358

5459
name: Verify ${{ matrix.config.name }}
5560
steps:
61+
- name: Enable git longpaths
62+
run: git config --global core.longpaths true
5663
- name: Checkout
5764
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5865
with:
@@ -84,6 +91,11 @@ jobs:
8491
with:
8592
tycho-version: 4.0.12
8693

94+
- name: Additional setup
95+
if: inputs.extra-setup
96+
run: |
97+
${{ inputs.extra-setup }}
98+
8799
- name: Download the API Tools matcher
88100
run: |
89101
mkdir .github/matcher

0 commit comments

Comments
 (0)