Skip to content

Commit

Permalink
Build/william/link os libcrypto (#245)
Browse files Browse the repository at this point in the history
* ci: add manual trigger of release and support link to system libcrypto
  • Loading branch information
qzhuyan authored Dec 7, 2023
1 parent d549b4d commit 8c6f804
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: release

on:
workflow_dispatch:
inputs:
ref:
description: 'Ref to release'
required: false
default: ''
push:
tags:
- "*"
Expand Down Expand Up @@ -37,6 +43,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: {{ github.event.inputs.ref }}

- name: build release
if: startsWith(github.ref, 'refs/tags/')
Expand Down
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ if (DEFINED ENV{QUICER_USE_OPENSSL3})
set(QUIC_TLS "openssl3")
endif()

if (DEFINED ENV{QUIC_USE_SYSTEM_LIBCRYPTO})
message(STATUS "Link to system libcrypto")
set(QUIC_USE_SYSTEM_LIBCRYPTO "ON")
endif()

if (DEFINED ENV{QUIC_ENABLE_LOGGING})
set(QUIC_ENABLE_LOGGING $ENV{QUIC_ENABLE_LOGGING})
set(QUIC_LOGGING_TYPE lttng)
Expand Down

0 comments on commit 8c6f804

Please sign in to comment.