mirror of
https://github.com/chipsalliance/f4pga.git
synced 2025-01-03 03:43:37 -05:00
ci: test F4PGA eos-s3 flow
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
parent
8b64ef3ad7
commit
9dd06cd92a
2 changed files with 12 additions and 23 deletions
33
.github/workflows/Pipeline.yml
vendored
33
.github/workflows/Pipeline.yml
vendored
|
@ -115,26 +115,15 @@ jobs:
|
|||
if: matrix.flow == 'F4PGA'
|
||||
run: |
|
||||
. ./.github/scripts/activate.sh
|
||||
|
||||
cd f4pga-examples
|
||||
f4pga build --flow ../.github/${{ matrix.fam }}_test.json
|
||||
|
||||
# FIXME
|
||||
# Temporarily allow QL example to fail, until https://github.com/chipsalliance/f4pga/pull/577 is merged.
|
||||
case '${{ matrix.fam }}' in
|
||||
eos-s3)
|
||||
f4pga build --flow ../.github/${{ matrix.fam }}_test.json | echo 'See #577'
|
||||
;;
|
||||
*)
|
||||
f4pga build --flow ../.github/${{ matrix.fam }}_test.json
|
||||
;;
|
||||
esac
|
||||
|
||||
- name: '📤 Upload artifact: Arty 35 bitstream'
|
||||
if: matrix.flow == 'F4PGA' && matrix.fam == 'xc7'
|
||||
- name: '📤 Upload artifact: ${{ matrix.fam }} bitstream'
|
||||
if: matrix.flow == 'F4PGA'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ matrix.flow }}-arty_35-Bitstream-pyF4PGA
|
||||
path: f4pga-examples/build/arty_35/top.bit
|
||||
name: ${{ matrix.flow }}-${{ matrix.fam }}-Bitstream
|
||||
path: f4pga-examples/build/${{ matrix.fam }}/top.bit
|
||||
if-no-files-found: error
|
||||
|
||||
# SymbiFlow
|
||||
|
@ -163,19 +152,19 @@ jobs:
|
|||
esac
|
||||
|
||||
- name: '📤 Upload artifact: Arty 35 bitstream'
|
||||
if: matrix.flow == 'SymbiFLow' && matrix.fam == 'xc7'
|
||||
if: matrix.flow == 'SymbiFlow' && matrix.fam == 'xc7'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ matrix.flow }}-arty_35-Bitstream
|
||||
path: f4pga-examples/xc7/counter_test/build/arty_35/top.bit
|
||||
name: ${{ matrix.flow }}-${{ matrix.fam }}-Bitstream
|
||||
path: f4pga-examples/${{ matrix.fam }}/counter_test/build/arty_35/top.bit
|
||||
if-no-files-found: error
|
||||
|
||||
- name: '📤 Upload artifact: QuickLogic bitstream'
|
||||
if: matrix.flow == 'SymbiFLow' && matrix.fam == 'eos-s3'
|
||||
if: matrix.flow == 'SymbiFlow' && matrix.fam == 'eos-s3'
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ matrix.flow }}-eos-s3-Bitstream
|
||||
path: f4pga-examples/eos-s3/btn_counter/build/top.bit
|
||||
name: ${{ matrix.flow }}-${{ matrix.fam }}-Bitstream
|
||||
path: f4pga-examples/${{ matrix.fam }}/btn_counter/build/top.bit
|
||||
if-no-files-found: error
|
||||
|
||||
|
||||
|
|
2
.github/xc7_test.json
vendored
2
.github/xc7_test.json
vendored
|
@ -13,7 +13,7 @@
|
|||
"XC7A35TCSG324-1": {
|
||||
"default_target": "bitstream",
|
||||
"dependencies": {
|
||||
"build_dir": "build/arty_35",
|
||||
"build_dir": "build/xc7",
|
||||
"xdc": [
|
||||
"xc7/counter_test/arty.xdc"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue