Skip to content

Commit

Permalink
download from github
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Sep 8, 2024
1 parent 2dd76ef commit 6654131
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,19 @@ jobs:
version: 3.3.0
- name: openssl
version: 3.2.0
dl-path: /
- name: openssl
version: 1.1.1w
dl-path: /
- name: openssl
version: 1.1.0l
old: true
dl-path: /old/1.1.0
- name: openssl
version: 1.0.2u
old: true
dl-path: /old/1.0.2
- name: openssl
version: 1.0.1u
old: true
dl-path: /old/1.0.1
include:
- target: x86_64-unknown-linux-gnu
Expand Down Expand Up @@ -257,7 +258,11 @@ jobs:
run: |
case "${{ matrix.library.name }}" in
"openssl")
url="https://www.openssl.org/source${{ matrix.library.dl-path }}/openssl-${{ matrix.library.version }}.tar.gz"
if [[ "${{ matrix.library.old }}" == "true" ]]; then
url="https://www.openssl.org/source${{ matrix.library.dl-path }}/openssl-${{ matrix.library.version }}.tar.gz"
else
url="https://github.com/openssl/openssl/releases/download/openssl-${{ matrix.library.version }}/openssl-${{ matrix.library.version }}.tar.gz"
fi
tar_flags="--strip-components=1"
;;
"libressl")
Expand Down

0 comments on commit 6654131

Please sign in to comment.