Skip to content

Commit

Permalink
ooof, compile old OpenSSL 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jakoch committed Jun 26, 2024
1 parent c4458c5 commit dc150f6
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,20 @@ jobs:
- name: 🔴🟢🟢🟢 Test
run: vendor/bin/phpunit --configuration ./tests/phpunit.xml.dist

# This tests the installation of the installer using require "dev-main",
# along with the installation of the latest version of PhantomJS.
- name: Installer "dev-main" installs latest PhantomJS version
- name: Install old OpenSSL version, which matches PhantomJS
run: |
cd tests/example-latest-version
composer install -vvv --profile
ls -ashF bin
bin/phantomjs -v
cd $HOME
mkdir src
mkdir share
cd src
wget https://github.com/openssl/openssl/releases/download/OpenSSL_1_1_1w/openssl-1.1.1w.tar.gz
sha256sum openssl-1.1.1w.tar.gz
tar xzf openssl-1.1.1w.tar.gz
cd openssl-1.1.1w/
./configure --prefix=$HOME/share/openssl-1.1.1 --openssldir=$HOME/share/openssl-1.1.1 linux-x86_64
make
make install
export OPENSSL_CONF=$HOME/share/openssl-1.1.1
# This tests the installation of the installer using require "dev-main",
# along with the installation of a manually specified PhantomJS version "v2.1.1",
Expand All @@ -71,3 +77,12 @@ jobs:
composer install -vvv --profile
ls -ashF bin
bin/phantomjs -v
# This tests the installation of the installer using require "dev-main",
# along with the installation of the latest version of PhantomJS.
- name: Installer "dev-main" installs latest PhantomJS version
run: |
cd tests/example-latest-version
composer install -vvv --profile
ls -ashF bin
bin/phantomjs -v

0 comments on commit dc150f6

Please sign in to comment.