mirror of
https://github.com/YosysHQ/yosys
synced 2026-03-19 11:33:11 +00:00
Check results properly
This commit is contained in:
parent
e05ed6b850
commit
bccfdef05d
5 changed files with 48 additions and 8 deletions
12
.github/workflows/extra-builds.yml
vendored
12
.github/workflows/extra-builds.yml
vendored
|
|
@ -138,6 +138,14 @@ jobs:
|
|||
- vs-build
|
||||
- wasi-build
|
||||
- nix-build
|
||||
if: always() && !contains(join(needs.*.result, ','), 'failure') && !contains(join(needs.*.result, ','), 'cancelled')
|
||||
if: always()
|
||||
steps:
|
||||
- run: echo "All good"
|
||||
- name: Check results
|
||||
run: |
|
||||
echo "Needs results: ${{ join(needs.*.result, ',') }}"
|
||||
if [[ "${{ join(needs.*.result, ',') }}" == *failure* ]] || \
|
||||
[[ "${{ join(needs.*.result, ',') }}" == *cancelled* ]]; then
|
||||
echo "Some jobs failed or were cancelled"
|
||||
exit 1
|
||||
fi
|
||||
- run: echo "All good"
|
||||
|
|
|
|||
12
.github/workflows/test-build.yml
vendored
12
.github/workflows/test-build.yml
vendored
|
|
@ -287,6 +287,14 @@ jobs:
|
|||
- test-cells
|
||||
- test-docs
|
||||
- test-docs-build
|
||||
if: always() && !contains(join(needs.*.result, ','), 'failure') && !contains(join(needs.*.result, ','), 'cancelled')
|
||||
if: always()
|
||||
steps:
|
||||
- run: echo "All good"
|
||||
- name: Check results
|
||||
run: |
|
||||
echo "Needs results: ${{ join(needs.*.result, ',') }}"
|
||||
if [[ "${{ join(needs.*.result, ',') }}" == *failure* ]] || \
|
||||
[[ "${{ join(needs.*.result, ',') }}" == *cancelled* ]]; then
|
||||
echo "Some jobs failed or were cancelled"
|
||||
exit 1
|
||||
fi
|
||||
- run: echo "All good"
|
||||
|
|
|
|||
10
.github/workflows/test-compile.yml
vendored
10
.github/workflows/test-compile.yml
vendored
|
|
@ -100,6 +100,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- test-compile
|
||||
if: always() && !contains(join(needs.*.result, ','), 'failure') && !contains(join(needs.*.result, ','), 'cancelled')
|
||||
if: always()
|
||||
steps:
|
||||
- name: Check results
|
||||
run: |
|
||||
echo "Needs results: ${{ join(needs.*.result, ',') }}"
|
||||
if [[ "${{ join(needs.*.result, ',') }}" == *failure* ]] || \
|
||||
[[ "${{ join(needs.*.result, ',') }}" == *cancelled* ]]; then
|
||||
echo "Some jobs failed or were cancelled"
|
||||
exit 1
|
||||
fi
|
||||
- run: echo "All good"
|
||||
|
|
|
|||
12
.github/workflows/test-sanitizers.yml
vendored
12
.github/workflows/test-sanitizers.yml
vendored
|
|
@ -86,6 +86,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- run_san
|
||||
if: always() && !contains(join(needs.*.result, ','), 'failure') && !contains(join(needs.*.result, ','), 'cancelled')
|
||||
if: always()
|
||||
steps:
|
||||
- run: echo "All good"
|
||||
- name: Check results
|
||||
run: |
|
||||
echo "Needs results: ${{ join(needs.*.result, ',') }}"
|
||||
if [[ "${{ join(needs.*.result, ',') }}" == *failure* ]] || \
|
||||
[[ "${{ join(needs.*.result, ',') }}" == *cancelled* ]]; then
|
||||
echo "Some jobs failed or were cancelled"
|
||||
exit 1
|
||||
fi
|
||||
- run: echo "All good"
|
||||
10
.github/workflows/test-verific.yml
vendored
10
.github/workflows/test-verific.yml
vendored
|
|
@ -129,6 +129,14 @@ jobs:
|
|||
needs:
|
||||
- test-verific
|
||||
- test-pyosys
|
||||
if: always() && !contains(join(needs.*.result, ','), 'failure') && !contains(join(needs.*.result, ','), 'cancelled')
|
||||
if: always()
|
||||
steps:
|
||||
- name: Check results
|
||||
run: |
|
||||
echo "Needs results: ${{ join(needs.*.result, ',') }}"
|
||||
if [[ "${{ join(needs.*.result, ',') }}" == *failure* ]] || \
|
||||
[[ "${{ join(needs.*.result, ',') }}" == *cancelled* ]]; then
|
||||
echo "Some jobs failed or were cancelled"
|
||||
exit 1
|
||||
fi
|
||||
- run: echo "All good"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue