Skip to content

Commit

Permalink
[ci] build and cache bitstream pre-merge
Browse files Browse the repository at this point in the history
Signed-off-by: Gary Guo <[email protected]>
  • Loading branch information
nbdd0121 committed Dec 13, 2024
1 parent 7fd8634 commit d30abba
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ on:
push:
branches-ignore:
- "backport-*"
- "gh-readonly-queue/*"
tags:
- "*"
merge_group:
types:
- checks_requested

permissions:
contents: read
Expand Down Expand Up @@ -77,6 +81,7 @@ jobs:
name: Lint (slow)
runs-on: ubuntu-22.04
needs: quick_lint
if: ${{ github.event_name != 'merge_group' }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -127,6 +132,7 @@ jobs:
name: Airgapped build
runs-on: ubuntu-22.04
needs: quick_lint
if: ${{ github.event_name != 'merge_group' }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -185,6 +191,7 @@ jobs:
name: Run OTBN smoke Test
needs: quick_lint
runs-on: ubuntu-22.04
if: ${{ github.event_name != 'merge_group' }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -218,6 +225,7 @@ jobs:
name: Run OTBN crypto tests
needs: quick_lint
runs-on: ubuntu-22.04
if: ${{ github.event_name != 'merge_group' }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
Expand All @@ -234,6 +242,7 @@ jobs:
name: Verilated English Breakfast
runs-on: ubuntu-22.04
needs: quick_lint
if: ${{ github.event_name != 'merge_group' }}
steps:
- uses: actions/checkout@v4
- name: Prepare environment
Expand All @@ -255,6 +264,7 @@ jobs:
name: Verilated Earl Grey
runs-on: ubuntu-20.04
needs: quick_lint
if: ${{ github.event_name != 'merge_group' }}
timeout-minutes: 240
steps:
- uses: actions/checkout@v4
Expand All @@ -275,6 +285,7 @@ jobs:
name: CW305's Bitstream
runs-on: ubuntu-22.04-bitstream
needs: quick_lint
if: ${{ github.event_name != 'merge_group' }}
steps:
- uses: actions/checkout@v4
- name: Prepare environment
Expand Down Expand Up @@ -372,6 +383,7 @@ jobs:
name: CW310 Test ROM Tests
needs: chip_earlgrey_cw310
uses: ./.github/workflows/fpga.yml
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit
with:
job_name: execute_test_rom_fpga_tests_cw310
Expand All @@ -384,6 +396,7 @@ jobs:
name: CW310 ROM Tests
needs: chip_earlgrey_cw310
uses: ./.github/workflows/fpga.yml
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit
with:
job_name: execute_rom_fpga_tests_cw310
Expand All @@ -397,6 +410,7 @@ jobs:
name: CW310 ROM_EXT Tests
needs: chip_earlgrey_cw310
uses: ./.github/workflows/fpga.yml
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit
with:
job_name: execute_rom_ext_fpga_tests_cw310
Expand All @@ -409,6 +423,7 @@ jobs:
name: CW310 SiVal Tests
needs: chip_earlgrey_cw310_hyperdebug
uses: ./.github/workflows/fpga.yml
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit
with:
job_name: execute_sival_fpga_tests_cw310
Expand All @@ -421,6 +436,7 @@ jobs:
name: CW310 SiVal ROM_EXT Tests
needs: chip_earlgrey_cw310_hyperdebug
uses: ./.github/workflows/fpga.yml
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit
with:
job_name: execute_sival_rom_ext_fpga_tests_cw310
Expand All @@ -433,6 +449,7 @@ jobs:
name: CW310 Manufacturing Tests
needs: chip_earlgrey_cw310_hyperdebug
uses: ./.github/workflows/fpga.yml
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit
with:
job_name: execute_manuf_fpga_tests_cw310
Expand All @@ -446,6 +463,7 @@ jobs:
name: CW340 Test ROM Tests
needs: chip_earlgrey_cw340
uses: ./.github/workflows/fpga.yml
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit
with:
job_name: execute_test_rom_fpga_tests_cw340
Expand All @@ -458,6 +476,7 @@ jobs:
name: CW340 ROM Tests
needs: chip_earlgrey_cw340
uses: ./.github/workflows/fpga.yml
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit
with:
job_name: execute_rom_fpga_tests_cw340
Expand All @@ -470,6 +489,7 @@ jobs:
name: CW340 ROM_EXT Tests
needs: chip_earlgrey_cw340
uses: ./.github/workflows/fpga.yml
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit
with:
job_name: execute_rom_ext_fpga_tests_cw340
Expand All @@ -482,6 +502,7 @@ jobs:
name: CW340 SiVal Tests
needs: chip_earlgrey_cw340
uses: ./.github/workflows/fpga.yml
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit
with:
job_name: execute_sival_fpga_tests_cw340
Expand All @@ -494,6 +515,7 @@ jobs:
name: CW340 SiVal ROM_EXT Tests
needs: chip_earlgrey_cw340
uses: ./.github/workflows/fpga.yml
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit
with:
job_name: execute_sival_rom_ext_fpga_tests_cw340
Expand All @@ -506,6 +528,7 @@ jobs:
name: CW340 Manufacturing Tests
needs: chip_earlgrey_cw340
uses: ./.github/workflows/fpga.yml
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit
with:
job_name: execute_manuf_fpga_tests_cw340
Expand Down Expand Up @@ -573,6 +596,7 @@ jobs:
name: Build Docker Containers
runs-on: ubuntu-22.04
needs: quick_lint
if: ${{ github.event_name != 'merge_group' }}
steps:
- uses: actions/checkout@v4
- name: Build Developer Utility Container
Expand All @@ -597,6 +621,7 @@ jobs:
runs-on: ubuntu-22.04-vivado
timeout-minutes: 120
needs: quick_lint
if: ${{ github.event_name != 'merge_group' }}
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit d30abba

Please sign in to comment.