Skip to content

Commit

Permalink
update on-push.yml as well, remove push trigger for building docker i…
Browse files Browse the repository at this point in the history
…mage
  • Loading branch information
broskoTT committed Sep 25, 2024
1 parent 98eb0f0 commit 1640212
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ name: Build and Publish Docker Image
on:
workflow_dispatch:
workflow_call:
push:

jobs:
build:
Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,29 @@ jobs:
{ arch: wormhole_b0 },
{ arch: blackhole },
]
uses: ./.github/workflows/build-source.yml
uses: ./.github/workflows/build-target.yml
with:
arch: ${{ matrix.test-group.arch }}
timeout: 10
build-target: umd_device

build-tests:
secrets: inherit
strategy:
fail-fast: false
matrix:
test-group: [
# Enable once we have functional cards with specified architecture.
# { arch: grayskull },
{ arch: wormhole_b0 },
# { arch: blackhole },
]
uses: ./.github/workflows/build-tests.yml
uses: ./.github/workflows/build-target.yml
with:
arch: ${{ matrix.test-group.arch }}
timeout: 10
build-target: umd_tests
upload-artifacts: true

test-all:
secrets: inherit
Expand All @@ -41,14 +47,16 @@ jobs:
fail-fast: false
matrix:
test-group: [
# Enable once we have functional cards.
# { arch: grayskull, card: e75 },
# { arch: grayskull, card: e150 },
# { arch: grayskull, card: e300 },
{ arch: wormhole_b0, card: n150 },
{ arch: wormhole_b0, card: n300 },
{ arch: wormhole_b0, card: n150, timeout: 5 },
{ arch: wormhole_b0, card: n300, timeout: 15 },
# { arch: blackhole },
]
uses: ./.github/workflows/run-tests.yml
with:
arch: ${{ matrix.test-group.arch }}
card: ${{ matrix.test-group.card }}
card: ${{ matrix.test-group.card }}
timeout: ${{ matrix.test-group.timeout }}

0 comments on commit 1640212

Please sign in to comment.