You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2022/05/26 23:02:04 UTC

[commons-rng] 04/04: Verify the examples in the GH action workflow

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git

commit ee1e8b9e80ed34363f7928e5d530dc7726af5f31
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Fri May 27 00:01:37 2022 +0100

    Verify the examples in the GH action workflow
---
 .github/workflows/maven.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 1662e1d7..0d04b5b4 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -44,3 +44,8 @@ jobs:
     - name: Build with Maven
       # Use the default goal
       run: mvn -V --no-transfer-progress
+    - name: Build examples with Maven
+      # Examples require Java 11+
+      if: contains(matrix.java, '11')
+      working-directory: ./commons-numbers-examples
+      run: mvn -pl examples-jmh,examples-quadrature,examples-sampling,examples-stress,examples-jpms/jpms-lib,examples-jpms/jpms-app verify apache-rat:check checkstyle:check