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 4, 2024
1 parent 539fa36 commit 5de57cb
Show file tree
Hide file tree
Showing 11 changed files with 16 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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
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 5de57cb

Please sign in to comment.