mirror of
https://github.com/cloudflare/quiche.git
synced 2026-10-28 08:36:24 +08:00
We should just use the one provided via boring/boring-sys crates. It should still be possible to build a different BoringSSL version through the facilities provided by those crates.
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
name: Deploy
|
|
|
|
env:
|
|
RUSTDOCFLAGS: "--cfg docsrs"
|
|
|
|
jobs:
|
|
docs:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install stable toolchain
|
|
uses: dtolnay/rust-toolchain@nightly
|
|
|
|
- name: Install qlog-dancer dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install libexpat1-dev libfreetype6-dev libfontconfig1-dev
|
|
|
|
- name: Run cargo doc
|
|
run: cargo doc --no-deps --all-features
|
|
|
|
- name: Deploy to GitHub Pages
|
|
uses: crazy-max/ghaction-github-pages@v3
|
|
with:
|
|
target_branch: gh-pages
|
|
build_dir: target/doc
|
|
fqdn: docs.quic.tech
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build Docker images
|
|
run: make docker-build
|
|
|
|
- name: Login to DockerHub
|
|
uses: docker/login-action@v2
|
|
with:
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_TOKEN }}
|
|
|
|
- name: Publish Docker images
|
|
run: make docker-publish
|