Skip to content

Initial stab at front end cache checks #522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/4.14-clang-13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,32 @@ name: 4.14 (clang-13)
workflow_dispatch: null
permissions: read-all
jobs:
cache_check_defconfigs:
name: cache check (defconfigs)
runs-on: ubuntu-latest
container: tuxmake/clang-13
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Should build run?
id: should_run
run: |
if python3 should_run.py || { ret=$?; ( exit $ret ) }; then
echo "should_run=true" >>$GITHUB_OUTPUT
else
case $ret in
2) echo "should_run=false" >>$GITHUB_OUTPUT ;;
*) exit 1 ;;
esac
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
kick_tuxsuite_defconfigs:
name: TuxSuite (defconfigs)
needs: cache_check_defconfigs
if: ${{ needs.cache_check_defconfigs.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
container: tuxsuite/tuxsuite
env:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/4.14-clang-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,32 @@ name: 4.14 (clang-14)
workflow_dispatch: null
permissions: read-all
jobs:
cache_check_defconfigs:
name: cache check (defconfigs)
runs-on: ubuntu-latest
container: tuxmake/clang-14
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Should build run?
id: should_run
run: |
if python3 should_run.py || { ret=$?; ( exit $ret ) }; then
echo "should_run=true" >>$GITHUB_OUTPUT
else
case $ret in
2) echo "should_run=false" >>$GITHUB_OUTPUT ;;
*) exit 1 ;;
esac
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
kick_tuxsuite_defconfigs:
name: TuxSuite (defconfigs)
needs: cache_check_defconfigs
if: ${{ needs.cache_check_defconfigs.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
container: tuxsuite/tuxsuite
env:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/4.14-clang-15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,32 @@ name: 4.14 (clang-15)
workflow_dispatch: null
permissions: read-all
jobs:
cache_check_defconfigs:
name: cache check (defconfigs)
runs-on: ubuntu-latest
container: tuxmake/clang-15
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Should build run?
id: should_run
run: |
if python3 should_run.py || { ret=$?; ( exit $ret ) }; then
echo "should_run=true" >>$GITHUB_OUTPUT
else
case $ret in
2) echo "should_run=false" >>$GITHUB_OUTPUT ;;
*) exit 1 ;;
esac
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
kick_tuxsuite_defconfigs:
name: TuxSuite (defconfigs)
needs: cache_check_defconfigs
if: ${{ needs.cache_check_defconfigs.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
container: tuxsuite/tuxsuite
env:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/4.14-clang-16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,32 @@ name: 4.14 (clang-16)
workflow_dispatch: null
permissions: read-all
jobs:
cache_check_defconfigs:
name: cache check (defconfigs)
runs-on: ubuntu-latest
container: tuxmake/clang-16
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Should build run?
id: should_run
run: |
if python3 should_run.py || { ret=$?; ( exit $ret ) }; then
echo "should_run=true" >>$GITHUB_OUTPUT
else
case $ret in
2) echo "should_run=false" >>$GITHUB_OUTPUT ;;
*) exit 1 ;;
esac
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
kick_tuxsuite_defconfigs:
name: TuxSuite (defconfigs)
needs: cache_check_defconfigs
if: ${{ needs.cache_check_defconfigs.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
container: tuxsuite/tuxsuite
env:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/4.14-clang-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,32 @@ name: 4.14 (clang-17)
workflow_dispatch: null
permissions: read-all
jobs:
cache_check_defconfigs:
name: cache check (defconfigs)
runs-on: ubuntu-latest
container: tuxmake/clang-nightly
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Should build run?
id: should_run
run: |
if python3 should_run.py || { ret=$?; ( exit $ret ) }; then
echo "should_run=true" >>$GITHUB_OUTPUT
else
case $ret in
2) echo "should_run=false" >>$GITHUB_OUTPUT ;;
*) exit 1 ;;
esac
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
kick_tuxsuite_defconfigs:
name: TuxSuite (defconfigs)
needs: cache_check_defconfigs
if: ${{ needs.cache_check_defconfigs.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
container: tuxsuite/tuxsuite
env:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/4.19-clang-13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,32 @@ name: 4.19 (clang-13)
workflow_dispatch: null
permissions: read-all
jobs:
cache_check_defconfigs:
name: cache check (defconfigs)
runs-on: ubuntu-latest
container: tuxmake/clang-13
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Should build run?
id: should_run
run: |
if python3 should_run.py || { ret=$?; ( exit $ret ) }; then
echo "should_run=true" >>$GITHUB_OUTPUT
else
case $ret in
2) echo "should_run=false" >>$GITHUB_OUTPUT ;;
*) exit 1 ;;
esac
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
kick_tuxsuite_defconfigs:
name: TuxSuite (defconfigs)
needs: cache_check_defconfigs
if: ${{ needs.cache_check_defconfigs.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
container: tuxsuite/tuxsuite
env:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/4.19-clang-14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,32 @@ name: 4.19 (clang-14)
workflow_dispatch: null
permissions: read-all
jobs:
cache_check_defconfigs:
name: cache check (defconfigs)
runs-on: ubuntu-latest
container: tuxmake/clang-14
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Should build run?
id: should_run
run: |
if python3 should_run.py || { ret=$?; ( exit $ret ) }; then
echo "should_run=true" >>$GITHUB_OUTPUT
else
case $ret in
2) echo "should_run=false" >>$GITHUB_OUTPUT ;;
*) exit 1 ;;
esac
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
kick_tuxsuite_defconfigs:
name: TuxSuite (defconfigs)
needs: cache_check_defconfigs
if: ${{ needs.cache_check_defconfigs.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
container: tuxsuite/tuxsuite
env:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/4.19-clang-15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,32 @@ name: 4.19 (clang-15)
workflow_dispatch: null
permissions: read-all
jobs:
cache_check_defconfigs:
name: cache check (defconfigs)
runs-on: ubuntu-latest
container: tuxmake/clang-15
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Should build run?
id: should_run
run: |
if python3 should_run.py || { ret=$?; ( exit $ret ) }; then
echo "should_run=true" >>$GITHUB_OUTPUT
else
case $ret in
2) echo "should_run=false" >>$GITHUB_OUTPUT ;;
*) exit 1 ;;
esac
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
kick_tuxsuite_defconfigs:
name: TuxSuite (defconfigs)
needs: cache_check_defconfigs
if: ${{ needs.cache_check_defconfigs.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
container: tuxsuite/tuxsuite
env:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/4.19-clang-16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,32 @@ name: 4.19 (clang-16)
workflow_dispatch: null
permissions: read-all
jobs:
cache_check_defconfigs:
name: cache check (defconfigs)
runs-on: ubuntu-latest
container: tuxmake/clang-16
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Should build run?
id: should_run
run: |
if python3 should_run.py || { ret=$?; ( exit $ret ) }; then
echo "should_run=true" >>$GITHUB_OUTPUT
else
case $ret in
2) echo "should_run=false" >>$GITHUB_OUTPUT ;;
*) exit 1 ;;
esac
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
kick_tuxsuite_defconfigs:
name: TuxSuite (defconfigs)
needs: cache_check_defconfigs
if: ${{ needs.cache_check_defconfigs.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
container: tuxsuite/tuxsuite
env:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/4.19-clang-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,32 @@ name: 4.19 (clang-17)
workflow_dispatch: null
permissions: read-all
jobs:
cache_check_defconfigs:
name: cache check (defconfigs)
runs-on: ubuntu-latest
container: tuxmake/clang-nightly
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Should build run?
id: should_run
run: |
if python3 should_run.py || { ret=$?; ( exit $ret ) }; then
echo "should_run=true" >>$GITHUB_OUTPUT
else
case $ret in
2) echo "should_run=false" >>$GITHUB_OUTPUT ;;
*) exit 1 ;;
esac
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
kick_tuxsuite_defconfigs:
name: TuxSuite (defconfigs)
needs: cache_check_defconfigs
if: ${{ needs.cache_check_defconfigs.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
container: tuxsuite/tuxsuite
env:
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/5.10-clang-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,32 @@ name: 5.10 (clang-11)
workflow_dispatch: null
permissions: read-all
jobs:
cache_check_defconfigs:
name: cache check (defconfigs)
runs-on: ubuntu-latest
container: tuxmake/clang-11
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Should build run?
id: should_run
run: |
if python3 should_run.py || { ret=$?; ( exit $ret ) }; then
echo "should_run=true" >>$GITHUB_OUTPUT
else
case $ret in
2) echo "should_run=false" >>$GITHUB_OUTPUT ;;
*) exit 1 ;;
esac
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
kick_tuxsuite_defconfigs:
name: TuxSuite (defconfigs)
needs: cache_check_defconfigs
if: ${{ needs.cache_check_defconfigs.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
container: tuxsuite/tuxsuite
env:
Expand Down Expand Up @@ -264,8 +288,32 @@ jobs:
name: output_artifact_defconfigs
- name: Check Build and Boot Logs
run: ./check_logs.py
cache_check_allconfigs:
name: cache check (allconfigs)
runs-on: ubuntu-latest
container: tuxmake/clang-11
outputs:
should_run: ${{ steps.should_run.outputs.should_run }}
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Should build run?
id: should_run
run: |
if python3 should_run.py || { ret=$?; ( exit $ret ) }; then
echo "should_run=true" >>$GITHUB_OUTPUT
else
case $ret in
2) echo "should_run=false" >>$GITHUB_OUTPUT ;;
*) exit 1 ;;
esac
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
kick_tuxsuite_allconfigs:
name: TuxSuite (allconfigs)
needs: cache_check_allconfigs
if: ${{ needs.cache_check_allconfigs.outputs.should_run == 'true' }}
runs-on: ubuntu-latest
container: tuxsuite/tuxsuite
env:
Expand Down
Loading