Skip to content

Commit e05816b

Browse files
committed
Fix missing flatc in doc build
1 parent e34ecdd commit e05816b

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/doc-build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ on:
1616
jobs:
1717
build:
1818
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
19+
strategy:
20+
matrix:
21+
include:
22+
- build-tool: buck2
1923
with:
2024
job-name: Build doc
2125
runner: linux.2xlarge
@@ -28,10 +32,9 @@ jobs:
2832
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
2933
conda activate "${CONDA_ENV}"
3034
31-
source .ci/scripts/utils.sh
32-
# This is a simple Python script but as it tries to import executorch.examples.models,
33-
# it requires a whole bunch of Executorch dependencies on the Docker image
34-
install_executorch
35+
BUILD_TOOL=${{ matrix.build-tool }}
36+
# Setup MacOS dependencies as there is no Docker support on MacOS atm
37+
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "${BUILD_TOOL}"
3538
3639
if [[(${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then
3740
export CHANNEL=test

docs/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ ExecuTorch tutorials.
181181
:tags: Template
182182

183183
.. customcarditem::
184-
:header: Exporting to Executorch Tutorial
185-
:card_description: A tutorial for exporting a model and lowering a it to be runnable on the Executorch runtime.
184+
:header: Exporting to ExecuTorch Tutorial
185+
:card_description: A tutorial for exporting a model and lowering a it to be runnable on the ExecuTorch runtime.
186186
:image: _static/img/generic-pytorch-logo.png
187187
:link: tutorials/export-to-executorch.html
188188
:tags: Export,Delegation,Quantization

0 commit comments

Comments
 (0)