1- name : Test Static Binaries
1+ name : Test static binaries
22
33on :
44 workflow_dispatch :
5-
5+ inputs :
6+ tag :
7+ description : ' The release tag you want to download and test'
8+ default : ' '
9+ required : true
10+ type : string
11+
612jobs :
713 install :
814 runs-on : ${{ matrix.os }}
@@ -27,33 +33,37 @@ jobs:
2733 checksum_suffix : ' ${{ matrix.clang-version }}_${{ matrix.checksum_pattern }}.sha512sum'
2834 steps :
2935 - uses : actions/checkout@v4
30- - name : Download and check clang version
36+ - name : Download and check clang versions
3137 shell : bash
3238 run : |
33- gh release download --pattern 'clang-format-${{ env.bin_suffix }}'
34- gh release download --pattern 'clang-format-${{ env.checksum_suffix }}'
39+ gh release download ${{ inputs.tag }} --pattern 'clang-format-${{ env.bin_suffix }}'
40+ gh release download ${{ inputs.tag }} --pattern 'clang-format-${{ env.checksum_suffix }}'
41+ echo "== Output clang-format checksum"
42+ cat clang-format-${{ env.checksum_suffix }}
3543 chmod +x clang-format-${{ env.bin_suffix }}
3644 echo "== Output clang-format version"
3745 ./clang-format-${{ env.bin_suffix }} --version
38- cat clang-format-${{ env.checksum_suffix }}
3946
40- gh release download --pattern 'clang-tidy-${{ env.bin_suffix }}'
41- gh release download --pattern 'clang-tidy-${{ env.checksum_suffix }}'
47+ gh release download ${{ inputs.tag }} --pattern 'clang-tidy-${{ env.bin_suffix }}'
48+ gh release download ${{ inputs.tag }} --pattern 'clang-tidy-${{ env.checksum_suffix }}'
49+ echo "== Output clang-tidy checksum"
50+ cat clang-tidy-${{ env.checksum_suffix }}
4251 chmod +x clang-tidy-${{ env.bin_suffix }}
4352 echo "== Output clang-tidy version"
4453 ./clang-tidy-${{ env.bin_suffix }} --version
45- cat clang-tidy-${{ env.checksum_suffix }}
4654
47- gh release download --pattern 'clang-query-${{ env.bin_suffix }}'
48- gh release download --pattern 'clang-query-${{ env.checksum_suffix }}'
55+ gh release download ${{ inputs.tag }} --pattern 'clang-query-${{ env.bin_suffix }}'
56+ gh release download ${{ inputs.tag }} --pattern 'clang-query-${{ env.checksum_suffix }}'
57+ echo "== Output clang-query checksum"
58+ cat clang-query-${{ env.checksum_suffix }}
4959 chmod +x clang-query-${{ env.bin_suffix }}
5060 echo "== Output clang-query version"
5161 ./clang-query-${{ env.bin_suffix }} --version
52- cat clang-query-${{ env.checksum_suffix }}
53-
54- gh release download --pattern 'clang-apply-replacements-${{ env.bin_suffix }}'
55- gh release download --pattern 'clang-apply-replacements-${{ env.checksum_suffix }}'
62+
63+ gh release download ${{ inputs.tag }} --pattern 'clang-apply-replacements-${{ env.bin_suffix }}'
64+ gh release download ${{ inputs.tag }} --pattern 'clang-apply-replacements-${{ env.checksum_suffix }}'
65+ echo "== Output clang-apply-replacements checksum"
66+ cat clang-apply-replacements-${{ env.checksum_suffix }}
5667 chmod +x clang-apply-replacements-${{ env.bin_suffix }}
5768 echo "== Output clang-apply-replacements version"
5869 ./clang-apply-replacements-${{ env.bin_suffix }} --version
59- cat clang-apply-replacements-${{ env.checksum_suffix }}
0 commit comments