Merge pull request #186 from vzhurba01/docstrings #76
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 and test | |
concurrency: | |
group: ${{ startsWith(github.ref_name, 'main') && format('unique-{0}', github.run_id) || format('ci-build-and-test-on-{0}-from-{1}', github.event_name, github.ref_name) }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- "pull-request/[0-9]+" | |
- "main" | |
jobs: | |
build-and-test: | |
name: Build and test (${{ matrix.host-platform }}, ${{ matrix.target-device }}, ${{ matrix.build-mode }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
host-platform: | |
- linux-x64 | |
target-device: | |
- gpu | |
build-mode: | |
- release | |
upload-enabled: | |
- false | |
uses: | |
./.github/workflows/gh-build-and-test.yml | |
with: | |
host-platform: ${{ matrix.host-platform }} | |
target-device: ${{ matrix.target-device }} | |
build-mode: ${{ matrix.build-mode }} | |
build-type: ci | |
upload-enabled: ${{ matrix.upload-enabled }} | |
secrets: inherit |