Skip to content

Commit

Permalink
trying to check zip files
Browse files Browse the repository at this point in the history
  • Loading branch information
Shihab Suliman committed May 1, 2024
1 parent f24458f commit 3a2cc6a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/_make_boot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:
timeout-minutes: 45
run: |
echo "boot_files=false" >> $GITHUB_OUTPUT
cd repos/PandABlocks-fpga && ln -s CONFIG.example CONFIG && make boot WORK_DIR=/__w/PandABlocks-FPGA/PandABlocks-FPGA/repos/PandABlocks-rootfs APP_NAME=${{ matrix.app }} && test -f "/build/boot*.zip" && echo "boot_files=true" >> $GITHUB_OUTPUT
cd repos/PandABlocks-fpga && ln -s CONFIG.example CONFIG && make boot WORK_DIR=/__w/PandABlocks-FPGA/PandABlocks-FPGA/repos/PandABlocks-rootfs APP_NAME=${{ matrix.app }}
if test -f /build/boot*.zip; then
echo "boot_files=true" >> $GITHUB_OUTPUT
fi
# Current workflow hangs upon make_boot completion, requiring a timeout
# Envvar boot_files is set true if timeout reached after successful boot build
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ jobs:
uses: ./.github/workflows/_make_boot.yml

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

make_zpkg_aws:
uses: ./.github/workflows/_make_zpkg_aws.yml
# make_zpkg_aws:
# uses: ./.github/workflows/_make_zpkg_aws.yml

# Python and hdl tests
test:
uses: ./.github/workflows/_test.yml
# test:
# uses: ./.github/workflows/_test.yml

# Optional revert on failed push workflow
undo:
needs: [ make_boot, make_zpkg, make_zpkg_aws, test ]
uses: ./.github/workflows/_undo.yml
# undo:
# needs: [ make_boot, make_zpkg, make_zpkg_aws, test ]
# uses: ./.github/workflows/_undo.yml

# Release on push to tag
release:
needs: [ make_boot, make_zpkg, make_zpkg_aws, test ]
uses: ./.github/workflows/_release.yml
# release:
# needs: [ make_boot, make_zpkg, make_zpkg_aws, test ]
# uses: ./.github/workflows/_release.yml

0 comments on commit 3a2cc6a

Please sign in to comment.