Skip to content

Commit

Permalink
Temp changes to test make boot
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtrafford committed Oct 8, 2024
1 parent ab3998b commit 1daffdf
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 28 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/_make_boot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
include:
- platform: zynq
app: PandABox-no-fmc
- platform: zynqmp
app: xu5_st1-no-fmc
# - platform: zynqmp
# app: xu5_st1-no-fmc
runs-on:
group: iris_runners
container:
Expand Down Expand Up @@ -42,6 +42,7 @@ jobs:
if test -f /build/boot*.zip; then
echo "boot_files=true" >> $GITHUB_OUTPUT
fi
ps -Ao pid= -o comm= | awk '$2 ~ // { print $1}' | xargs kill
# Current workflow hangs upon make_boot completion, requiring a timeout
# Envvar boot_files is set true if timeout reached after successful boot build
Expand All @@ -56,4 +57,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: boot-${{ matrix.app }}
path: /build/boot*.zip
path: /build/boot*.zip
50 changes: 25 additions & 25 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@ jobs:
make_boot:
uses: ./.github/workflows/_make_boot.yml

# Make zpkg for FPGA apps
make_zpkg:
uses: ./.github/workflows/_make_zpkg.yml
# # Make zpkg for FPGA apps
# make_zpkg:
# uses: ./.github/workflows/_make_zpkg.yml

# Optional revert on failed push workflow
undo:
needs: [ make_boot, make_zpkg, test_hdl ]
uses: ./.github/workflows/_undo.yml
# undo:
# needs: [ make_boot, make_zpkg, test_hdl ]
# uses: ./.github/workflows/_undo.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}}
# # 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}}

0 comments on commit 1daffdf

Please sign in to comment.