Skip to content

update doc

update doc #687

Workflow file for this run

name: StaticLinking
on:
push:
paths-ignore:
- 'ansible/**'
- 'doc/**'
- 'demo/**'
- 'scripts/**'
- 'g3proxy/doc/**'
- 'g3tiles/doc/**'
branches:
- 'master'
- 'lts/**'
pull_request:
branches:
- 'master'
- 'lts/**'
env:
CARGO_TERM_COLOR: always
CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_RUSTFLAGS: -C target-feature=+crt-static
jobs:
musl:
name: musl
runs-on: ubuntu-latest
strategy:
matrix:
feature:
- vendored-openssl,rustls-ring
- vendored-tongsuo,rustls-ring
# - vendored-aws-lc
# - vendored-boringssl
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: true
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-unknown-linux-musl
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install capnproto musl-tools
- name: Cargo build
run: cargo build --target=x86_64-unknown-linux-musl --no-default-features --features ${{ matrix.feature }},quic,vendored-c-ares,hickory
msvc:
name: msvc
runs-on: windows-latest
strategy:
matrix:
feature:
- vendored-openssl,rustls-ring
- vendored-tongsuo,rustls-ring
- vendored-aws-lc,rustls-aws-lc
- vendored-boringssl,rustls-ring
steps:
- name: Install common tools
run: choco install capnproto
- name: Install nasm and ninja for BoringSSL
if: contains(matrix.feature, 'vendored-boringssl')
run: choco install nasm ninja
- name: Install nasm for AWS-LC
if: contains(matrix.feature, 'vendored-aws-lc')
uses: ilammy/setup-nasm@v1
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: true
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Cargo build
run: cargo build --no-default-features --features ${{ matrix.feature }},quic,vendored-c-ares,hickory