ci: pull request template #4346
This file contains hidden or 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
| # | |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. | |
| # See https://llvm.org/LICENSE.txt for license information. | |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| # | |
| # Copyright (c) 2026 Alan de Freitas (alandefreitas@gmail.com) | |
| # | |
| # Official repository: https://github.com/cppalliance/mrdocs | |
| # | |
| name: Continuous Integration | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - master | |
| - '*' | |
| tags: | |
| - "v*.*.*" | |
| # pull_request runs the matrix/build on the PR head with the fork-scoped token | |
| # (no comment perms on base repo). | |
| pull_request: | |
| branches: | |
| - develop | |
| concurrency: | |
| group: ${{format('{0}:{1}', github.repository, github.ref)}} | |
| cancel-in-progress: true | |
| jobs: | |
| cpp-matrix: | |
| name: Generate Test Matrix | |
| uses: ./.github/workflows/ci-matrix.yml | |
| secrets: inherit | |
| build: | |
| name: Build & Test | |
| needs: [cpp-matrix, utility-tests] | |
| permissions: | |
| actions: write | |
| uses: ./.github/workflows/ci-build.yml | |
| with: | |
| matrix: ${{ needs.cpp-matrix.outputs.matrix }} | |
| secrets: inherit | |
| utility-tests: | |
| name: Utility Tests | |
| uses: ./.github/workflows/ci-utility-tests.yml | |
| secrets: inherit | |
| releases: | |
| name: Releases | |
| needs: [utility-tests, cpp-matrix, build] | |
| permissions: | |
| contents: write | |
| uses: ./.github/workflows/ci-releases.yml | |
| with: | |
| submatrices: ${{ needs.cpp-matrix.outputs.submatrices }} | |
| secrets: inherit |