From eeb0d7a618a47d061b320481a75c02c707921f63 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Sun, 28 Jan 2024 23:33:58 +0100 Subject: [PATCH] [Build] Enable API checks in CI builds Fixes https://github.com/eclipse-platform/eclipse.platform.swt/issues/1003 --- .github/workflows/maven.yml | 1 + Jenkinsfile | 1 + pom.xml | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d5a8ed56c64..9662e448fd6 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -65,6 +65,7 @@ jobs: mvn --batch-mode -V -U -DforkCount=1 -Dnative=${{ matrix.config.native }} + -Papi-check -Dcompare-version-with-baselines.skip=true -Dtycho.baseline.replace=none -Dmaven.compiler.failOnWarning=true diff --git a/Jenkinsfile b/Jenkinsfile index 037c30d3b39..bd3f07488ff 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -300,6 +300,7 @@ pipeline { sh ''' mvn clean verify \ --batch-mode -DforkCount=0 \ + -Papi-check \ -Dcompare-version-with-baselines.skip=false -Dmaven.compiler.failOnWarning=true \ -Dorg.eclipse.swt.tests.junit.disable.test_isLocal=true \ -Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true diff --git a/pom.xml b/pom.xml index 0f4ebeacd00..2d6d86fe516 100644 --- a/pom.xml +++ b/pom.xml @@ -41,7 +41,6 @@ - - - - true