Skip to content

Commit

Permalink
Enable Github Verification and cleanup build scripts
Browse files Browse the repository at this point in the history
This do the follwoing:
- enable the unified github verification build
- removes obsolete workflows
- move mandatory maven options into the maven.config file
  • Loading branch information
laeubi authored and EcljpseB0T committed Jan 31, 2024
1 parent a083e73 commit d1e6de9
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 50 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/checkMergeCommits.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Continuous Integration
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
check-freeze-period:
if: github.event_name == 'pull_request'
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/verifyFreezePeriod.yml@master
check-merge-commits:
if: github.event_name == 'pull_request'
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/checkMergeCommits.yml@master
build:
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/mavenBuild.yml@master

19 changes: 0 additions & 19 deletions .github/workflows/rebase.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/verifyFreezePeriod.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .mvn/maven.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-Dmaven.compiler.failOnWarning=true
-Pbuild-individual-bundles
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pipeline {
wrap([$class: 'Xvnc', useXauthority: true]) {
sh """
mvn -U -e -Dmaven.compiler.failOnWarning=false -DskipTests=false -Dmaven.repo.local=$WORKSPACE/.m2/repository \
clean verify --batch-mode -Pbuild-individual-bundles -Pbree-libs -Papi-check -Dcompare-version-with-baselines.skip=false
clean verify --batch-mode -Pbree-libs -Papi-check -Dcompare-version-with-baselines.skip=false
"""
}
}
Expand Down

0 comments on commit d1e6de9

Please sign in to comment.