Skip to content

Commit af585b4

Browse files
authored
Merge pull request #1 from python273/main
Fix cmake CMP0053 fail
2 parents 73c1005 + 52359fe commit af585b4

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ env:
33
DOWNLOAD_CACHE_VERSION: '8'
44
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55
PYTHONPATH: .
6+
RELEASE_VER: '6.3.3'
67

78
on:
89
push:
@@ -21,14 +22,17 @@ jobs:
2122
steps:
2223
- name: Clone LLVM and AMD projects
2324
run: |
24-
git clone --depth 1 -b rocm-6.3.3 --single-branch https://github.com/ROCm/llvm-project ${{ github.workspace }}/llvm-project
25+
git clone --depth 1 -b rocm-${{ env.RELEASE_VER }} --single-branch https://github.com/ROCm/llvm-project ${{ github.workspace }}/llvm-project
2526
cd ${{ github.workspace }}/llvm-project
26-
git checkout e5bf7e55c91490b07c49d8960fa7983d864936c4
27+
git rev-parse HEAD
2728
rm -rf .git
2829
- name: Install build dependencies
2930
run: |
3031
brew update
31-
brew install --formula cmake rust
32+
brew install --formula rust
33+
- uses: lukka/get-cmake@latest
34+
with:
35+
cmakeVersion: "~3.31.0"
3236
- name: Build LLVM
3337
run: |
3438
cd ${{ github.workspace }}/llvm-project
@@ -51,8 +55,8 @@ jobs:
5155
id: create_release
5256
uses: softprops/action-gh-release@v1
5357
with:
54-
tag_name: v6.1.x
55-
name: Release v6.1.x
58+
tag_name: v${{ env.RELEASE_VER }}
59+
name: Release v${{ env.RELEASE_VER }}
5660
draft: false
5761
prerelease: false
5862
generate_release_notes: true

0 commit comments

Comments
 (0)