diff --git a/.github/workflows/version_compatability.yml b/.github/workflows/version_compatability.yml index 4f1e762..23fbecb 100644 --- a/.github/workflows/version_compatability.yml +++ b/.github/workflows/version_compatability.yml @@ -19,15 +19,15 @@ jobs: run: | git clone https://github.com/openssl/openssl.git --branch ${{ matrix.branch }} cd openssl - ./config --banner=Configured --strict-warnings --prefix=/usr/local/openssl --openssldir=/usr/local/openssl/ssl shared zlib + ./config --banner=Configured --strict-warnings --prefix=/usr/local/${{ matrix.branch }} --openssldir=/usr/local/${{ matrix.branch }}/ssl shared zlib make -s -j4 sudo make install_sw install_ssldirs cd .. - echo "OPENSSL_DIR=/usr/local/openssl" >> $GITHUB_ENV - echo "OPENSSL_ROOT_DIR=/usr/local/openssl" >> $GITHUB_ENV - echo "OPENSSL_INCLUDE_DIR=/usr/local/openssl/include/openssl" >> $GITHUB_ENV - echo "OPENSSL_LIBRARIES=/usr/local/openssl/lib64" >> $GITHUB_ENV - echo "PATH=$PATH:/usr/local/openssl/bin" >> $GITHUB_ENV + echo "OPENSSL_DIR=/usr/local/${{ matrix.branch }}" >> $GITHUB_ENV + echo "OPENSSL_ROOT_DIR=/usr/local/${{ matrix.branch }}" >> $GITHUB_ENV + echo "OPENSSL_INCLUDE_DIR=/usr/local/${{ matrix.branch }}/include" >> $GITHUB_ENV + echo "OPENSSL_LIBRARIES=/usr/local/${{ matrix.branch }}/lib64" >> $GITHUB_ENV + echo "PATH=$PATH:/usr/local/${{ matrix.branch }}/bin" >> $GITHUB_ENV - name: cmake run: | cmake .