You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2022/06/13 22:41:06 UTC

[commons-crypto] branch master updated: Let's see if Windows can join the other builds

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e5ba118  Let's see if Windows can join the other builds
e5ba118 is described below

commit e5ba11881e9753db7836c2026b675edfc4817118
Author: Sebb <se...@apache.org>
AuthorDate: Mon Jun 13 23:40:59 2022 +0100

    Let's see if Windows can join the other builds
---
 .github/workflows/maven.yml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index f8666d9..e70f44f 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -32,7 +32,7 @@ jobs:
     continue-on-error: ${{ matrix.experimental }}
     strategy:
       matrix:
-        os: [macos-latest, ubuntu-latest]
+        os: [macos-latest, ubuntu-latest, windows-latest]
         java: [ 8, 11, 17 ]
         experimental: [false]
 #        include:
@@ -63,4 +63,12 @@ jobs:
     - name: OpenSSL version
       run: openssl version
     - name: Build with Maven
+      # OPENSSL_HOME is needed for Windows build; not used by other builds so can set unconditionally
+      # It's not clear how one is supposed to find the correct setting;
+      # The value below was found by searching for openssl files under C (warning: slow)
+      # Other possible values are:
+      # "C:\\Miniconda\\pkgs\\openssl-1.1.1n-h2bbff1b_0\\Library"
+      # "C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\opt"
+      env:
+        OPENSSL_HOME: "C:\\Miniconda\\Library"
       run: mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false