Skip to content

Commit

Permalink
[Build] Enable API checks in CI builds
Browse files Browse the repository at this point in the history
Fixes #1003
  • Loading branch information
HannesWell committed Feb 6, 2024
1 parent 21d129a commit cca65ca
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/maven.yml
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
--fail-at-end
Expand Down
1 change: 1 addition & 0 deletions Jenkinsfile
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 \
-Dorg.eclipse.swt.tests.junit.disable.test_isLocal=true \
-Dmaven.test.failure.ignore=true -Dmaven.test.error.ignore=true
Expand Down
11 changes: 11 additions & 0 deletions binaries/.settings/.api_filters
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<component id="org.eclipse.swt.cocoa.macosx.x86_64" version="2">
<resource path="META-INF/MANIFEST.MF">
<filter id="923795461">
<message_arguments>
<message_argument value="3.125.0"/>
<message_argument value="3.124.200"/>
</message_arguments>
</filter>
</resource>
</component>
Expand Up @@ -14,6 +14,7 @@ custom = true
bin.includes = .,*.jnilib,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=macosx
Expand Down
Expand Up @@ -14,6 +14,7 @@ custom = true
bin.includes = .,*.jnilib,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=macosx
Expand Down
Expand Up @@ -13,6 +13,7 @@ custom = true
bin.includes = .,*.so,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=linux
Expand Down
Expand Up @@ -13,6 +13,7 @@ custom = true
bin.includes = .,*.so,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=linux
Expand Down
Expand Up @@ -13,6 +13,7 @@ custom = true
bin.includes = .,*.so,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=linux
Expand Down
1 change: 1 addition & 0 deletions binaries/org.eclipse.swt.gtk.linux.x86_64/build.properties
Expand Up @@ -14,6 +14,7 @@ custom = true
bin.includes = .,*.so,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=linux
Expand Down
Expand Up @@ -14,6 +14,7 @@ custom = true
bin.includes = .,*.dll,about_files/,about.html,fragment.properties
bin.excludes = library/
source.. = src/
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=win32
Expand Down
7 changes: 7 additions & 0 deletions binaries/pom.xml
Expand Up @@ -78,6 +78,13 @@
<org.eclipse.swt.buildtime>true</org.eclipse.swt.buildtime>
</profileProperties>
</dependency-resolution>
<environments>
<environment>
<os>${os}</os>
<ws>${ws}</ws>
<arch>${arch}</arch>
</environment>
</environments>
</configuration>
</plugin>
<plugin>
Expand Down
1 change: 0 additions & 1 deletion pom.xml
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 cca65ca

Please sign in to comment.