|
| 1 | +name: zfs-arm |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + pull_request: |
| 6 | + workflow_dispatch: |
| 7 | + inputs: |
| 8 | + fedora_kernel_ver: |
| 9 | + type: string |
| 10 | + required: false |
| 11 | + default: "" |
| 12 | + description: "(optional) Experimental kernel version to install on Fedora (like '6.14' or '6.13.3-0.rc3')" |
| 13 | + |
| 14 | +jobs: |
| 15 | + zfs-arm: |
| 16 | + runs-on: ubuntu-24.04-arm |
| 17 | + steps: |
| 18 | + - uses: actions/checkout@v4 |
| 19 | + with: |
| 20 | + fetch-depth: 0 |
| 21 | + - name: Install dependencies |
| 22 | + timeout-minutes: 20 |
| 23 | + run: .github/workflows/scripts/qemu-3-deps-vm.sh ubuntu24 |
| 24 | + |
| 25 | + - name: Build modules |
| 26 | + timeout-minutes: 30 |
| 27 | + run: .github/workflows/scripts/qemu-4-build-vm.sh --enable-debug ubuntu24 |
| 28 | + |
| 29 | + - name: Run tests |
| 30 | + timeout-minutes: 270 |
| 31 | + run: .github/workflows/scripts/qemu-6-tests.sh ubuntu24 1/1 |
| 32 | + |
| 33 | + - name: Prepare artifacts |
| 34 | + if: always() |
| 35 | + timeout-minutes: 10 |
| 36 | + run: .github/workflows/scripts/qemu-7-prepare.sh |
| 37 | + |
| 38 | + - uses: actions/upload-artifact@v4 |
| 39 | + id: artifact-upload |
| 40 | + if: always() |
| 41 | + with: |
| 42 | + name: Logs-functional-${{ matrix.os }} |
| 43 | + path: /tmp/qemu-${{ matrix.os }}.tar |
| 44 | + if-no-files-found: ignore |
| 45 | + |
| 46 | + - name: Test Summary |
| 47 | + if: always() |
| 48 | + run: .github/workflows/scripts/qemu-8-summary.sh '${{ steps.artifact-upload.outputs.artifact-url }}' |
| 49 | + |
| 50 | + cleanup: |
| 51 | + if: always() |
| 52 | + name: Cleanup |
| 53 | + runs-on: ubuntu-latest |
| 54 | + needs: [ zfs-arm ] |
| 55 | + |
| 56 | + steps: |
| 57 | + - uses: actions/checkout@v4 |
| 58 | + with: |
| 59 | + ref: ${{ github.event.pull_request.head.sha }} |
| 60 | + - uses: actions/download-artifact@v4 |
| 61 | + - name: Generating summary |
| 62 | + run: .github/workflows/scripts/qemu-9-summary-page.sh |
| 63 | + - name: Generating summary... |
| 64 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 2 |
| 65 | + - name: Generating summary... |
| 66 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 3 |
| 67 | + - name: Generating summary... |
| 68 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 4 |
| 69 | + - name: Generating summary... |
| 70 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 5 |
| 71 | + - name: Generating summary... |
| 72 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 6 |
| 73 | + - name: Generating summary... |
| 74 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 7 |
| 75 | + - name: Generating summary... |
| 76 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 8 |
| 77 | + - name: Generating summary... |
| 78 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 9 |
| 79 | + - name: Generating summary... |
| 80 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 10 |
| 81 | + - name: Generating summary... |
| 82 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 11 |
| 83 | + - name: Generating summary... |
| 84 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 12 |
| 85 | + - name: Generating summary... |
| 86 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 13 |
| 87 | + - name: Generating summary... |
| 88 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 14 |
| 89 | + - name: Generating summary... |
| 90 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 15 |
| 91 | + - name: Generating summary... |
| 92 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 16 |
| 93 | + - name: Generating summary... |
| 94 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 17 |
| 95 | + - name: Generating summary... |
| 96 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 18 |
| 97 | + - name: Generating summary... |
| 98 | + run: .github/workflows/scripts/qemu-9-summary-page.sh 19 |
| 99 | + - uses: actions/upload-artifact@v4 |
| 100 | + with: |
| 101 | + name: Summary Files |
| 102 | + path: out-* |
0 commit comments