upx/.github/workflows/generate-doc.yml
Markus F.X.J. Oberhumer 2c79fa4fd0 CI updates
2025-08-08 23:57:07 +02:00

55 lines
1.4 KiB
YAML

# Copyright (C) Markus Franz Xaver Johannes Oberhumer
# note: GitHub Actions runner images are frequently updated, and
# unfortunately this sometimes breaks builds in mysterious ways...
# see https://github.com/actions/runner-images.git
name: CI
on: [push, workflow_dispatch]
env:
CMAKE_REQUIRED_QUIET: 'OFF'
CMAKE_VERBOSE_MAKEFILE: 'ON'
CTEST_OUTPUT_ON_FAILURE: 'ON'
DEBIAN_FRONTEND: noninteractive
UPX_CMAKE_BUILD_FLAGS: --verbose
UPX_CMAKE_CONFIG_FLAGS: -Wdev --warn-uninitialized
UPX_CONFIG_HAVE_WORKING_BUILD_RPATH: 'ON'
UPX_DEBUG_TEST_FLOAT_DIVISION_BY_ZERO: 1
UPX_DEBUG_TEST_LIBC_QSORT: 1
ZSTD_CLEVEL: 9
# 2024-08-17
ZIG_DIST_VERSION: 0.14.0-dev.1166+bb7050106
jobs:
build-doc:
name: Rebuild stubs
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
submodules: false
fetch-depth: 0
- name: Install packages
run: |
sudo apt install --yes doxygen graphviz
- name: Build docs
run: doxygen doxygen-file
- uses: DenverCoder1/doxygen-github-pages-action@v2.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
folder: doc/html
config_file: doxygen-file
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: doc/html
token: ${{ secrets.GITHUB_TOKEN }}