Skip to content

Commit fcc9b85

Browse files
committed
Bump clang to 13.0.1 on OSX in CI
1 parent 84a3ed9 commit fcc9b85

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,14 +330,14 @@ jobs:
330330
run: rustup target install aarch64-apple-darwin
331331
- name: Fetch upstream LLVM/clang snapshot
332332
run: |
333-
wget -O clang+llvm-13.0.0-x86_64-apple-darwin.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_64-apple-darwin.tar.xz
334-
if [ "$(shasum -a 256 clang+llvm-13.0.0-x86_64-apple-darwin.tar.xz | awk '{ print $1 }')" != "d051234eca1db1f5e4bc08c64937c879c7098900f7a0370f3ceb7544816a8b09" ]; then
333+
wget -O clang+llvm-13.0.1-x86_64-apple-darwin.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.1/clang+llvm-13.0.1-x86_64-apple-darwin.tar.xz
334+
if [ "$(shasum -a 256 clang+llvm-13.0.1-x86_64-apple-darwin.tar.xz | awk '{ print $1 }')" != "dec02d17698514d0fc7ace8869c38937851c542b02adf102c4e898f027145a4d" ]; then
335335
echo "Bad hash"
336336
exit 1
337337
fi
338338
- name: Unpack upstream LLVM+clang and use it by default
339339
run: |
340-
tar xvvf clang+llvm-13.0.0-x86_64-apple-darwin.tar.xz
340+
tar xvvf clang+llvm-13.0.1-x86_64-apple-darwin.tar.xz
341341
- name: Checkout source code
342342
uses: actions/checkout@v2
343343
with:
@@ -359,7 +359,7 @@ jobs:
359359
- name: Rebuild C bindings with upstream clang, and check the sample app builds + links
360360
run: |
361361
cd ldk-c-bindings
362-
export PATH=`pwd`/clang+llvm-13.0.0-x86_64-apple-darwin/bin:$PATH
362+
export PATH=`pwd`/clang+llvm-13.0.1-x86_64-apple-darwin/bin:$PATH
363363
CC=clang ./genbindings.sh ../rust-lightning true
364364
cd ..
365365
- name: Fetch OpenJDK 16
@@ -389,7 +389,7 @@ jobs:
389389
export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)"
390390
export JAVA_HOME=`pwd`/jdk-16.0.1.jdk/Contents/Home
391391
export PATH=$JAVA_HOME/bin:$PATH
392-
export PATH=`pwd`/clang+llvm-13.0.0-x86_64-apple-darwin/bin:$PATH
392+
export PATH=`pwd`/clang+llvm-13.0.1-x86_64-apple-darwin/bin:$PATH
393393
./genbindings.sh ./ldk-c-bindings/ "-I$JAVA_HOME/include/ -I$JAVA_HOME/include/darwin -isysroot$(xcrun --show-sdk-path)" false false
394394
if [ "${{ matrix.platform }}" = "macos-11" ]; then
395395
export CC="clang --target=aarch64-apple-darwin"

0 commit comments

Comments
 (0)