]> git.bitcoin.ninja Git - ldk-java/commitdiff
Fix OSX CI to *actually* use upstream clang
authorMatt Corallo <git@bluematt.me>
Sat, 14 Jan 2023 06:21:18 +0000 (06:21 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 14 Jan 2023 06:33:11 +0000 (06:33 +0000)
.github/workflows/build.yml

index 9ae476c3ed041ffb0047f1976878e1700fb01844..72537f9481f559f87ab566fbeac9c27778df49b0 100644 (file)
@@ -345,6 +345,10 @@ jobs:
     steps:
       - name: Install other Rust platforms
         run: rustup target install aarch64-apple-darwin
+      - name: Checkout source code
+        uses: actions/checkout@v2
+        with:
+          fetch-depth: 0
       - name: Fetch upstream LLVM/clang snapshot
         run: |
           wget -O clang+llvm-15.0.3-x86_64-apple-darwin.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.3/clang+llvm-15.0.3-x86_64-apple-darwin.tar.xz
@@ -355,10 +359,6 @@ jobs:
       - name: Unpack upstream LLVM+clang and use it by default
         run: |
           tar xvvf clang+llvm-15.0.3-x86_64-apple-darwin.tar.xz
-      - name: Checkout source code
-        uses: actions/checkout@v2
-        with:
-          fetch-depth: 0
       - name: Install cbindgen
         run: cargo install cbindgen
       - name: Checkout Rust-Lightning and LDK-C-Bindings git