v3.0 CI-package-arm64-centos9-genai 4cd48b9db6a043ab20113718f8011a8e10c8ab69 #2
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
| name: CI-package-arm64-centos9-genai | |
| run-name: '${{ github.ref_name }} ${{ github.workflow }} ${{ github.sha }}' | |
| on: | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| checks: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref_name }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04-arm | |
| env: | |
| ARCH: arm64 | |
| DIST: centos9 | |
| MATRIX: '(arm64,centos9-genai)' | |
| BRANCH: ${{ github.ref_name }} | |
| steps: | |
| - uses: LouisBrunner/checks-action@v2.0.0 | |
| id: checks | |
| if: always() | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| name: '${{ github.workflow }} / ${{ github.job }} ${{ env.MATRIX }}' | |
| repo: ${{ github.repository }} | |
| sha: ${{ github.sha }} | |
| status: 'in_progress' | |
| details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}' | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: ${{ github.repository }} | |
| ref: ${{ github.sha }} | |
| fetch-depth: 0 | |
| - name: Build package | |
| run: | | |
| PROXYSQLGENAI=1 make ${{ env.DIST }} | |
| - name: Upload to release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh release create ${{ env.BRANCH }}-head --repo ${{ github.repository }} --title "${{ env.BRANCH }}-head" --target ${{ github.sha }} --draft --prerelease 2>/dev/null || true | |
| gh release upload ${{ env.BRANCH }}-head --repo ${{ github.repository }} --clobber binaries/*.[mb] binaries/*.id-hash 2>/dev/null || true | |
| - uses: LouisBrunner/checks-action@v2.0.0 | |
| if: always() | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| check_id: ${{ steps.checks.outputs.check_id }} | |
| repo: ${{ github.repository }} | |
| sha: ${{ github.sha }} | |
| conclusion: ${{ job.status }} | |
| details_url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}' |