1 name: LLVM Project Version Check
16 if: github.repository_owner == 'llvm'
17 runs-on: ubuntu-latest
19 - name: Fetch LLVM sources
20 uses: actions/checkout@v4
24 - name: Install dependencies
26 pip install -r ./llvm/utils/git/requirements.txt
30 version=$(grep -o 'LLVM_VERSION_\(MAJOR\|MINOR\|PATCH\) [0-9]\+' llvm/CMakeLists.txt | cut -d ' ' -f 2 | tr "\n" "." | sed 's/.$//g')
31 .github/workflows/version-check.py "$version"