Skip to content

ci/GHA: general maintenance, security, add LibreSSL and old OpenSSL jobs with tests - #1528

Closed
vszakats wants to merge 46 commits into
libssh2:masterfrom
vszakats:gha
Closed

vszakats wants to merge 46 commits into
libssh2:masterfrom
vszakats:gha

Conversation

@vszakats

@vszakats vszakats commented Jan 31, 2025 •

Copy link
Copy Markdown
Member
  • add Linux jobs with old OpenSSL versions: 1.1.1, 1.1.0, 1.0.2, with
    tests.
    (Meaning we test these again after losing them in AppVeyor CI)
  • add LibreSSL Linux job with tests.
  • cache most dependency packages built from source.
    (exception: wolfSSL, which would have added too much complexity
    due to the multiple versions, and it's fast to build anyway.)
  • change source tarball sources to GitHub for better stability and
    performance.
  • move dependency versions to the env.
  • set persist-credentials: false for checkout steps for security.
  • pin actions to hash for security.
  • checkout repo later, right before use.
  • skip building BoringSSL tests to finish quicker.
  • set fail-fast: false in the BSD build matrix.
  • cmake: move UWP workaround from GHA to CMakeLists.txt, making it
    available for everyone.
  • list installed packages in OpenBSD job.
  • bump BoringSSL, mbedTLS, wolfSSL, OpenSSL.
  • bump cross-platform-actions to v0.26.
  • bump docker/build-push-action to v6.
  • bump actions/upload-artifact to v4.
  • bump NetBSD to 10.1.
  • drop --quiet 2 apt-get option to keep useful output.
  • drop --no-install-suggests --no-install-recommends apt-get
    options. They are the defaults with the ubuntu-24.04 image.
  • tidy up quotes.

Cherry-picked from #1484

ci: bump boringssl and omit building tests 3
build with old openssl 2

build with old openssl 3

build with old openssl 4

build with old openssl 5

build with old openssl 6

give up on openssl 1.0.2

```
Cannot create directory /usr/ssl: Permission denied
```
https://github.com/libssh2/libssh2/actions/runs/11655308102/job/32449842481#step:11:1656

build with old openssl 7

build with old openssl 8

Revert "give up on openssl 1.0.2"

This reverts commit 72a2764.

try openssl 1.0.2 once more

openssl 1.0.2 tests

openssl 1.0.2 test 1

openssl 1.0.2 test 2

openssl 1.0.2 test 3

openssl 1.0.2 test 4

openssl 1.0.2 test 5

openssl 1.0.2 test 6

openssl 1.0.2 test 7
This is important for openssl 1.1.1 and older where the
no-docs build option is not yet available. It saves copying
the many docs sources on install.
To avoid any extra servers/roundtrips.
GHA: pin actions/checkout to hash

GHA: pin actions/cache to hash

GHA: pin vmactions/omnios-vm to hash

GHA: pin cygwin/cygwin-install-action to hash

GHA: pin msys2/setup-msys2 to hash

GHA: bump to v0.26.0 and pin cross-platform-actions/action to hash

GHA: bump to v4 and pin actions/upload-artifact to hash

GHA: pin docker actions to hashes, bump docker/build-push-action to v6
apt doesn't install suggested/recommended packages by default.
@vszakats vszakats added the build label Jan 31, 2025
@vszakats vszakats changed the title GHA: ci/GHA: general maintenance, security, add LibreSSL and old OpenSSL jobs with tests Jan 31, 2025
@vszakats vszakats closed this in 008e82c Jan 31, 2025
@vszakats
vszakats deleted the gha branch January 31, 2025 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant