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 akurtakov committed Dec 1, 2023
1 parent 4b92b57 commit 5fff25e
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 51 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
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ pipeline {
steps {
wrap([$class: 'Xvnc', useXauthority: true]) {
sh """
mvn -U -e -Dmaven.compiler.failOnWarning=true -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
mvn -U -e -DskipTests=false -Dmaven.repo.local=$WORKSPACE/.m2/repository \
clean verify --batch-mode -Pbree-libs -Papi-check -Dcompare-version-with-baselines.skip=false
"""
}
}
Expand Down

0 comments on commit 5fff25e

Please sign in to comment.