Produce aarch64 release artifacts on aarch64 runner (#5348) #19499
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-docs | |
on: | |
push: | |
branches: | |
- dev | |
- 'release-*' | |
paths-ignore: | |
- '.github/workflows/quarto-render.yml' | |
- '_quarto.yml' | |
- 'quarto-materials/*' | |
- '**/.md' | |
- 'tiledb/doxygen/source/*' | |
- 'tiledb/sm/c_api/tiledb_version.h' | |
pull_request: | |
branches: | |
- '*' # must quote since "*" is a YAML reserved character; we want a string | |
paths-ignore: | |
- '.github/workflows/quarto-render.yml' | |
- '_quarto.yml' | |
- 'quarto-materials/*' | |
- '**/.md' | |
- 'tiledb/doxygen/source/*' | |
- 'tiledb/sm/c_api/tiledb_version.h' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 90 | |
name: Build Docs | |
env: | |
VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 'Print env' | |
run: | | |
echo "'uname -s' is:" | |
echo "uname: " $(uname) | |
echo "uname -m: " $(uname -m) | |
echo "uname -r:" $(uname -r) | |
echo "uname -s: " $(uname -s) | |
echo "uname -v: " $(uname -v) | |
printenv | |
shell: bash | |
- name: Set environment variables for vcpkg binary caching | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); | |
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
- name: Install Doxygen | |
run: | | |
set -e pipefail | |
sudo apt-get update | |
# Install doxygen *before* running cmake | |
sudo apt-get install -y doxygen | |
pip install virtualenv | |
shell: bash | |
- name: Build Doxygen Docs | |
run: | | |
# Build the documentation (this does not deploy to RTD). | |
cd $GITHUB_WORKSPACE/tiledb/doxygen; | |
./local-build.sh; | |
shell: bash |