rust: support formatting of foreign types #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-License-Identifier: GPL-2.0 | ||
|
Check failure on line 1 in .github/workflows/schedule.yml
|
||
| --- | ||
| name: Run kdevops CI Workflow - Schedule | ||
| on: | ||
| schedule: | ||
| - cron: '0 14 * * *' | ||
| workflow_dispatch: | ||
| jobs: | ||
| check_ref: | ||
| name: Check Linux kernel Git Reference | ||
| outputs: | ||
| kernel_ref: ${{ steps.check_kernel_ref.outputs.kernel_ref }} | ||
| kernel_tree: ${{ steps.check_kernel_ref.outputs.kernel_tree }} | ||
| runs-on: [self-hosted] | ||
| steps: | ||
| - name: Checkout repo | ||
| uses: actions/checkout@v4 | ||
| - name: Generate kernel_ref | ||
| id: check_kernel_ref | ||
| run: | | ||
| set -euxo pipefail | ||
| day_of_week=$(date +%u) | ||
| kernel_ref=$(./scripts/korg-releases.py --moniker linux-next) | ||
| kernel_tree=linux-next | ||
| if [ "$day_of_week" -eq 1 ]; then | ||
| kernel_ref=$(./scripts/korg-releases.py --moniker mainline) | ||
| kernel_tree=linux | ||
| fi | ||
| "${{ github.workspace }}/scripts/github_output.sh" kernel_ref "$kernel_ref" | ||
| "${{ github.workspace }}/scripts/github_output.sh" kernel_tree "$kernel_tree" | ||
| schedule: | ||
| name: Scheduled kdevops CI | ||
| needs: [check_ref] | ||
| runs-on: [self-hosted] | ||
| secrets: inherit | ||
| uses: ./.github/workflows/main.yml | ||
| strategy: | ||
| matrix: | ||
| ci_workflow: [blktests-block, blktests-loop, blktests-meta] | ||
| with: | ||
| ci_workflow: ${{ matrix.ci_workflow }} | ||
| kernel_ref: ${{ needs.check_ref.outputs.kernel_ref }} | ||
| kernel_tree: ${{ needs.check_ref.outputs.kernel_tree }} | ||