mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-03 22:28:29 +00:00
80801406ce
We now install newer meson via pip instead of apt-get. BUG=none TEST=run GitHub action on my personal account Change-Id: Icbe55bf06e84253cd26e676647bca17408ab9d9b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3251824 Auto-Submit: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Dennis Kempin <denniskempin@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Dennis Kempin <denniskempin@google.com>
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: github pages
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-20.04
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup mdBook
|
|
uses: peaceiris/actions-mdbook@v1
|
|
with:
|
|
mdbook-version: 'latest'
|
|
- name: Install Dependencies
|
|
run: |
|
|
./tools/install-deps
|
|
- name: Run mdbook
|
|
run: |
|
|
mkdir -p docs/target/
|
|
mdbook build docs/book/ --dest-dir ../target/
|
|
- name: Run cargo doc
|
|
run: |
|
|
git submodule update --init
|
|
# TODO audio_cras, chromeos, power-monitor-powerd
|
|
cargo doc --target-dir ./docs/target/ \
|
|
--features "audio composite-disk default default-no-sandbox direct gdb gfxstream gpu plugin tpm usb video-decoder video-encoder virgl_renderer virgl_renderer_next wl-dmabuf x"
|
|
- name: Deploy
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./docs/target/
|