Skip to content

Commit

Permalink
[Build] Enable API checks in CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Feb 2, 2024
1 parent 539fa36 commit d1d82ef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
--threads 1C
-DforkCount=1
-Dnative=${{ matrix.config.native }}
-Papi-check
-Dcompare-version-with-baselines.skip=true
-Dtycho.baseline.replace=none
-Dmaven.compiler.failOnWarning=true
Expand Down
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ pipeline {
sh '''
mvn clean verify \
--batch-mode --threads 1C -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
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
<sonar.c.file.suffixes>-</sonar.c.file.suffixes>
<sonar.cpp.file.suffixes>-</sonar.cpp.file.suffixes>
<sonar.objc.file.suffixes>-</sonar.objc.file.suffixes>
<skipAPIAnalysis>true</skipAPIAnalysis>
</properties>

<!--
Expand Down

0 comments on commit d1d82ef

Please sign in to comment.