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 Mar 12, 2024
1 parent 0818fed commit c116be3
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 2 deletions.
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 -V -U -e -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
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<component id="org.eclipse.swt.cocoa.macosx.aarch64" version="2">
<resource path="Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java" type="org.eclipse.swt.widgets.Display">
<filter id="336744520">
<message_arguments>
<message_argument value="@noextend"/>
<message_argument value="org.eclipse.swt.widgets.Display"/>
</message_arguments>
</filter>
</resource>
</component>
Expand Up @@ -38,6 +38,7 @@ source.. = \
../../bundles/org.eclipse.swt/Eclipse SWT WebKit/cocoa,\
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/cocoa,\
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/common
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=macosx
Expand Down
@@ -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="Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java" type="org.eclipse.swt.widgets.Display">
<filter id="336744520">
<message_arguments>
<message_argument value="@noextend"/>
<message_argument value="org.eclipse.swt.widgets.Display"/>
</message_arguments>
</filter>
</resource>
</component>
Expand Up @@ -38,6 +38,7 @@ source.. = \
../../bundles/org.eclipse.swt/Eclipse SWT WebKit/cocoa,\
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/cocoa,\
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/common
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=macosx
Expand Down
Expand Up @@ -39,6 +39,7 @@ source.. = \
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/glx,\
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/common,\
../../bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=linux
Expand Down
Expand Up @@ -39,6 +39,7 @@ source.. = \
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/glx,\
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/common,\
../../bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=linux
Expand Down
Expand Up @@ -39,6 +39,7 @@ source.. = \
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/glx,\
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/common,\
../../bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=linux
Expand Down
2 changes: 1 addition & 1 deletion binaries/org.eclipse.swt.gtk.linux.x86_64/build.properties
Expand Up @@ -40,7 +40,7 @@ source.. = \
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/glx,\
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/common,\
../../bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk

output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=linux
Expand Down
Expand Up @@ -34,6 +34,7 @@ source.. = \
../../bundles/org.eclipse.swt/Eclipse SWT Browser/win32,\
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/win32,\
../../bundles/org.eclipse.swt/Eclipse SWT OpenGL/common
output.. = bin/
src.includes = about.html,about_files/

pom.model.property.os=win32
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 c116be3

Please sign in to comment.