Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Bump opencv from 0.88.8 to 0.91.1 in /backend #2243

Bump opencv from 0.88.8 to 0.91.1 in /backend

Bump opencv from 0.88.8 to 0.91.1 in /backend #2243

Workflow file for this run

name: Docs
on:
push:
pull_request:
jobs:
build:
# Deduplicate jobs from pull requests and branch pushes within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/[email protected]
- name: Install dependencies
uses: awalsh128/[email protected]
with:
packages: libopencv-dev clang libclang-dev
- name: Install nightly toolchain
uses: actions-rs/[email protected]
with:
toolchain: nightly
default: true
- name: Cache Rust Build
uses: Swatinem/[email protected]
- name: Build docs
uses: actions-rs/[email protected]
with:
command: doc
args: >
--workspace
--no-deps
--all-features
--document-private-items
--manifest-path backend/Cargo.toml
env:
RUSTDOCFLAGS: >
-D warnings
-Z unstable-options
--enable-index-page
- name: Fix file permissions for pages
run: chmod -R +rX backend/target/doc
- name: Upload Pages artifact
uses: actions/[email protected]
with:
path: backend/target/doc
publish:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Setup Pages
uses: actions/[email protected]
- name: Publish docs to GitHub Pages
id: deployment
uses: actions/[email protected]