Skip to content

add vendored build to windows ci #2

add vendored build to windows ci

add vendored build to windows ci #2

Workflow file for this run

name: Static-CI
on:
push:
paths-ignore:
- 'ansible/**'
- 'doc/**'
- 'demo/**'
- 'scripts/**'
- 'g3proxy/doc/**'
- 'g3tiles/doc/**'
branches:
- 'master'
- 'rel/**'
- 'lts/**'
pull_request:
branches:
- 'master'
- 'rel/**'
- 'lts/**'
env:
CARGO_TERM_COLOR: always
CROSS_FEATURES: --no-default-features --features vendored-openssl,quic,vendored-c-ares,hickory
jobs:
build:
name: musl
runs-on: ubuntu-latest
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 $CROSS_FEATURES
- name: Cargo clippy
run: cargo clippy --target=x86_64-unknown-linux-musl $CROSS_FEATURES --tests -- --deny warnings