|
| 1 | +name: CI-package-arm64-almalinux10-genai |
| 2 | +run-name: '${{ github.ref_name }} ${{ github.workflow }} ${{ github.sha }}' |
| 3 | + |
| 4 | +on: |
| 5 | + workflow_dispatch: |
| 6 | + |
| 7 | +permissions: |
| 8 | + contents: read |
| 9 | + checks: write |
| 10 | + |
| 11 | +concurrency: |
| 12 | + group: ${{ github.workflow }}-${{ github.ref_name }} |
| 13 | + cancel-in-progress: true |
| 14 | + |
| 15 | +jobs: |
| 16 | + build: |
| 17 | + runs-on: ubuntu-24.04-arm |
| 18 | + env: |
| 19 | + ARCH: arm64 |
| 20 | + DIST: almalinux10 |
| 21 | + MATRIX: '(arm64,almalinux10-genai)' |
| 22 | + |
| 23 | + steps: |
| 24 | + - uses: LouisBrunner/checks-action@v2.0.0 |
| 25 | + id: checks |
| 26 | + if: always() |
| 27 | + with: |
| 28 | + token: ${{ secrets.GITHUB_TOKEN }} |
| 29 | + name: '${{ github.workflow }} / ${{ github.job }} ${{ env.MATRIX }}' |
| 30 | + repo: ${{ github.repository }} |
| 31 | + sha: ${{ github.sha }} |
| 32 | + status: 'in_progress' |
| 33 | + details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}' |
| 34 | + |
| 35 | + - name: Checkout repository |
| 36 | + uses: actions/checkout@v4 |
| 37 | + with: |
| 38 | + repository: ${{ github.repository }} |
| 39 | + ref: ${{ github.sha }} |
| 40 | + fetch-depth: 0 |
| 41 | + |
| 42 | + - name: Build package |
| 43 | + run: | |
| 44 | + PROXYSQLGENAI=1 make ${{ env.DIST }} |
| 45 | +
|
| 46 | + - name: Upload package artifact |
| 47 | + uses: actions/upload-artifact@v4 |
| 48 | + with: |
| 49 | + name: proxysql-arm64-almalinux10-genai |
| 50 | + path: binaries/ |
| 51 | + retention-days: 90 |
| 52 | + if-no-files-found: error |
| 53 | + |
| 54 | + - uses: LouisBrunner/checks-action@v2.0.0 |
| 55 | + if: always() |
| 56 | + with: |
| 57 | + token: ${{ secrets.GITHUB_TOKEN }} |
| 58 | + check_id: ${{ steps.checks.outputs.check_id }} |
| 59 | + repo: ${{ github.repository }} |
| 60 | + sha: ${{ github.sha }} |
| 61 | + conclusion: ${{ job.status }} |
| 62 | + details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}' |
0 commit comments