Skip to content

Commit 0db67cd

Browse files
committed
fix: add --ignore-missing-links to ignore failure
1 parent f4d9ff6 commit 0db67cd

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -96,24 +96,11 @@ jobs:
9696
run: |
9797
version=${RELEASE##llvm-project-}; version=${version%.src}
9898
curl -LO https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${{ matrix.release }}.tar.xz
99-
10099
- name: Unpack llvm-project
101-
if: ${{ matrix.clang-version < 9 }}
102-
shell: bash
103-
run: |
104-
version=${RELEASE##llvm-project-}
105-
tar xf llvm-${version}.src.tar.xz
106-
tar xf cfe-${version}.src.tar.xz ${{ matrix.extra-tar-args-cfe }}
107-
tar xf clang-tools-extra-${version}.src.tar.xz
108-
mkdir ${{ matrix.release }}
109-
mv llvm-${version}.src ${{ matrix.release }}/llvm
110-
mv cfe-${version}.src ${{ matrix.release }}/clang
111-
mv clang-tools-extra-${version}.src ${{ matrix.release }}/clang-tools-extra
112-
- name: Unpack llvm-project
113-
if: ${{ matrix.clang-version >= 9 || matrix.clang-version == '12.0.1' }}
114100
shell: bash
115101
run: |
116-
tar xf ${{ matrix.release }}.tar.xz ${{ matrix.extra-tar-args }}
102+
# add --ignore-missing-links to ignore failure on v21 on windows
103+
tar xf ${{ matrix.release }}.tar.xz --ignore-missing-links ${{ matrix.extra-tar-args }}
117104
- name: Patch trivially-copyable clang 9/10
118105
if: ${{ ( matrix.clang-version == 9 || matrix.clang-version == 10 ) && matrix.os == 'windows' }}
119106
shell: bash

0 commit comments

Comments
 (0)