CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
89 lines
3.4 KiB
YAML
89 lines
3.4 KiB
YAML
# name: Automated release
|
|
|
|
# on:
|
|
# workflow_dispatch:
|
|
# schedule:
|
|
# # First day of every month
|
|
# - cron: '0 0 1 * *'
|
|
|
|
# jobs:
|
|
# setup:
|
|
# runs-on: ubuntu-latest
|
|
# outputs:
|
|
# latest_branch: ${{steps.latest_branch.outputs.latest_branch}}
|
|
# branches_json: ${{steps.release_branches.outputs.branches_json}}
|
|
# steps:
|
|
# - name: Checkout
|
|
# uses: actions/checkout@v5
|
|
# with:
|
|
# fetch-depth: 0
|
|
# - name: Get latest llvm_release branch
|
|
# id: latest_branch
|
|
# run: |
|
|
# git branch -r \
|
|
# | grep 'llvm_release_' \
|
|
# | sed -E 's/.*\/llvm_release_([0-9]+)/\1/' \
|
|
# | sort -n -r \
|
|
# | head -1 \
|
|
# | xargs printf "latest_branch=llvm_release_%s" \
|
|
# >> $GITHUB_OUTPUT
|
|
# - name: Get branch list
|
|
# id: release_branches
|
|
# run: |
|
|
# git branch -r \
|
|
# | grep "origin/llvm_release_" \
|
|
# | sed -E 's/\ *origin\/([^\ ]*)/\"\1\"/' \
|
|
# | paste -sd',' \
|
|
# | xargs -0 -d"\n" printf 'branches_json={"branch":[%s]}' \
|
|
# >> $GITHUB_OUTPUT
|
|
# release:
|
|
# runs-on: ubuntu-latest
|
|
# needs: setup
|
|
# strategy:
|
|
# matrix: ${{fromJson(needs.setup.outputs.branches_json)}}
|
|
# steps:
|
|
# - name: Checkout
|
|
# uses: actions/checkout@v5
|
|
# with:
|
|
# ref: ${{ matrix.branch }}
|
|
# fetch-depth: 0
|
|
# - name: Get commits info
|
|
# id: versions
|
|
# run: |
|
|
# export LATEST_VERSION=\
|
|
# "$(git describe --tags --abbrev=0 --match 'v*')"
|
|
# export LLVM_VERSION=$(echo $LATEST_VERSION \
|
|
# | sed -E 's/(v[0-9]+\.[0-9]+)\.([0-9]+).*/\1/')
|
|
# export PATCH=$(echo $LATEST_VERSION \
|
|
# | sed -E 's/(v[0-9]+\.[0-9]+)\.([0-9]+).*/\2/')
|
|
|
|
# echo "llvm_version=$LLVM_VERSION" >> $GITHUB_OUTPUT
|
|
# echo "patch=$PATCH" >> $GITHUB_OUTPUT
|
|
# echo "latest_version=${LATEST_VERSION}" >> $GITHUB_OUTPUT
|
|
# echo "release_version=${LLVM_VERSION}.$((${PATCH}+1))" \
|
|
# >> $GITHUB_OUTPUT
|
|
|
|
# git rev-list ${LATEST_VERSION}..HEAD --count \
|
|
# | xargs printf "commits_since_last_release=%d\n" >> $GITHUB_OUTPUT
|
|
# git rev-parse HEAD | xargs printf "last_commit=%s\n" >> $GITHUB_OUTPUT
|
|
# - name: Release
|
|
# uses: softprops/action-gh-release@v2
|
|
# if: ${{ steps.versions.outputs.commits_since_last_release != 0 }}
|
|
# with:
|
|
# # Setting tag to have format:
|
|
# # %latest llvm version%.%latest patch + 1%
|
|
# tag_name: ${{ steps.versions.outputs.release_version }}
|
|
# # We have to set this so tag is set on the branch we are releasing
|
|
# target_commitish: ${{ steps.versions.outputs.last_commit }}
|
|
# # We don't want to mark patch releases latest unless it is latest
|
|
# # major version
|
|
# make_latest: >-
|
|
# ${{ needs.setup.outputs.latest_branch == matrix.branch }}
|
|
# name: >
|
|
# SPIR-V LLVM translator based on LLVM
|
|
# ${{ steps.versions.outputs.llvm_version }}
|
|
# body: "Full Changelog: ${{ github.server_url }}/\
|
|
# ${{ github.repository }}/compare/\
|
|
# ${{ steps.versions.outputs.latest_version }}...\
|
|
# ${{ steps.versions.outputs.release_version }}"
|