blob: ee843729178f767adf7ee28f0dc08744b513febf [file] [log] [blame]
Dean Birch62c4f082020-01-17 16:13:26 +00001#!/bin/bash
2#-------------------------------------------------------------------------------
Xinyu Zhangff5d7712022-01-14 13:48:59 +08003# Copyright (c) 2020-2022, Arm Limited and Contributors. All rights reserved.
Dean Birch62c4f082020-01-17 16:13:26 +00004#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7#-------------------------------------------------------------------------------
8
9#
10# Used for CI to build the docs.
11# Expected to have trusted-firmware-m cloned to same level as this git tree
12#
13
14set -ex
Xinyu Zhangb708f572020-09-15 11:43:46 +080015
Matthew Dalzelle719a1c2025-06-06 14:19:51 +010016export PATH=$PATH:$GCC_13_2_PATH
Xinyu Zhangff5d7712022-01-14 13:48:59 +080017
Xinyu Zhangc8dc36d2021-10-13 10:56:11 +080018mkdir -p ${WORKSPACE}/trusted-firmware-m/build/docs
19cd ${WORKSPACE}/trusted-firmware-m/build/docs
Xinyu Zhangb708f572020-09-15 11:43:46 +080020
Xinyu Zhangc8dc36d2021-10-13 10:56:11 +080021cmake -S ${WORKSPACE}/trusted-firmware-m/docs -B .
Xinyu Zhangb708f572020-09-15 11:43:46 +080022cmake --build ./ -- tfm_docs_refman_html
23cmake --build ./ -- tfm_docs_userguide_html