File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 99 matrix :
1010 os : [ubuntu-latest, macos-latest, windows-latest]
1111 # oldest and newest supported LLVM version
12- clang_version : [10.0.0, 15.0.7 ]
12+ clang_version : [10.0.0, 15.0.0 ]
1313 steps :
1414 - uses : actions/checkout@v1
1515 with :
6262 echo "CC=$CLANG_DIR/clang" >> $GITHUB_ENV
6363 echo "AR=$CLANG_DIR/llvm-ar" >> $GITHUB_ENV
6464 echo "NM=$CLANG_DIR/llvm-nm" >> $GITHUB_ENV
65- if : matrix.os == 'ubuntu-latest'
65+ if : matrix.os == 'ubuntu-latest' && matrix.clang_version == '10.0.0'
66+
67+ # use rhel-8.4 asset as ubuntu asset is not available for this release
68+ - name : Install LLVM tools (Linux)
69+ shell : bash
70+ run : |
71+ curl -sSfL https://github.com/llvm/llvm-project/releases/download/llvmorg-${{ matrix.clang_version }}/clang+llvm-${{ matrix.clang_version }}-x86_64-linux-gnu-rhel-8.4.tar.xz | tar xJf -
72+ export CLANG_DIR=`pwd`/clang+llvm-${{ matrix.clang_version }}-x86_64-linux-gnu-rhel-8.4/bin
73+ echo "$CLANG_DIR" >> $GITHUB_PATH
74+ echo "CLANG_DIR=$CLANG_DIR" >> $GITHUB_ENV
75+ echo "CC=$CLANG_DIR/clang" >> $GITHUB_ENV
76+ echo "AR=$CLANG_DIR/llvm-ar" >> $GITHUB_ENV
77+ echo "NM=$CLANG_DIR/llvm-nm" >> $GITHUB_ENV
78+ if : matrix.os == 'ubuntu-latest' && matrix.clang_version == '15.0.0'
6679
6780 - name : Build libc
6881 shell : bash
You can’t perform that action at this time.
0 commit comments