Move CI to Iris runners #1271
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: Code CI | |
on: | |
# Only run on changes to branches with open PRs | |
pull_request: | |
types: [opened, edited, synchronize] | |
# Run after PR merged, on implicit push, and on tag pushes | |
push: | |
tags: | |
- '*' | |
branches: [master] | |
jobs: | |
# Make Boot files | |
make_boot: | |
uses: ./.github/workflows/_make_boot.yml | |
# Make zpkg for FPGA apps | |
make_zpkg: | |
uses: ./.github/workflows/_make_zpkg.yml | |
# Release on push to tag | |
release: | |
needs: [ make_boot, make_zpkg, test_hdl, test_matrix, test_python_autogen ] | |
uses: ./.github/workflows/_release.yml | |
# Generate job matrix to evenly split tests | |
test_matrix: | |
uses: ./.github/workflows/_test_matrix.yml | |
# python and autogen tests | |
test_python_autogen: | |
uses: ./.github/workflows/_test_python_autogen.yml | |
# hdl tests | |
test_hdl: | |
needs: [test_matrix, test_python_autogen] | |
uses: ./.github/workflows/_test_hdl.yml | |
with: | |
matrix: ${{needs.test_matrix.outputs.matrix}} |