profile-based toggling of mem debug jar build
Some checks reported errors
studiorailgun/Renderer/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
austin 2024-08-29 21:35:46 -04:00
parent 5a99fb387a
commit 3527d55be6
3 changed files with 22 additions and 3 deletions

3
Jenkinsfile vendored
View File

@ -81,7 +81,8 @@ pipeline {
]
) {
script {
sh 'mvn test -P integration -DmaxLogs'
sh 'curl https://build.lwjgl.org/addons/lwjglx-debug/lwjglx-debug-1.0.0.jar -v -L > ./lwjglx-debug-1.0.0.jar'
sh 'mvn test -P integration,integrationDebug -DmaxLogs'
}
}
}

View File

@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Thu Aug 29 20:24:54 EDT 2024
buildNumber=301
#Thu Aug 29 21:35:28 EDT 2024
buildNumber=302

18
pom.xml
View File

@ -436,6 +436,24 @@
</properties>
</profile>
<!-- INTEGRATION TESTING -->
<!-- To execute this profile, run a command like "mvn test -P lwjgl-natives-windows,integration" -->
<profile>
<id>integrationDebug</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<argLine>-javaagent:./lwjglx-debug-1.0.0.jar</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>