From 2562591ba3fd32b61ea6b8384ae3e245d8ad6b6a Mon Sep 17 00:00:00 2001 From: Victor Payno Date: Sat, 22 Jun 2024 12:25:28 -0700 Subject: [PATCH] ci(docker-build): clean up llvm setup so it's using the correct version --- .../layer-10.00-exercism-gcc_clang_llvm.sh | 4 +-- .github/docker/layer-15.00-exercism-rust.sh | 2 +- .github/workflows/c.yml | 26 +++++++++---------- .github/workflows/cpp.yml | 25 +++++++++--------- 4 files changed, 28 insertions(+), 29 deletions(-) diff --git a/.github/docker/layer-10.00-exercism-gcc_clang_llvm.sh b/.github/docker/layer-10.00-exercism-gcc_clang_llvm.sh index 3a733a97..4df74bb6 100755 --- a/.github/docker/layer-10.00-exercism-gcc_clang_llvm.sh +++ b/.github/docker/layer-10.00-exercism-gcc_clang_llvm.sh @@ -44,7 +44,7 @@ main() { libc++abi-"${LLVM_VER}"-dev libc++-"${LLVM_VER}"-dev libfuzzer-"${LLVM_VER}"-dev - libllvm16 + libllvm"${LLVM_VER}" libllvm-"${LLVM_VER}"-ocaml-dev libssl-dev libunwind-"${LLVM_VER}"-dev @@ -60,7 +60,7 @@ main() { # wget -q https://apt.llvm.org/llvm.sh # chmod -v +x llvm.sh - # ./llvm.sh 16 all + # ./llvm.sh "${LLVM_VER}" all echo Creating /etc/apt/sources.list.d/llvm.list tee -a /etc/apt/sources.list.d/llvm.list <<-EOF diff --git a/.github/docker/layer-15.00-exercism-rust.sh b/.github/docker/layer-15.00-exercism-rust.sh index 1f4bfc75..5c801d88 100755 --- a/.github/docker/layer-15.00-exercism-rust.sh +++ b/.github/docker/layer-15.00-exercism-rust.sh @@ -29,7 +29,7 @@ main() { gcovr lcov libllvm-"${LLVM_VER}"-ocaml-dev - libllvm16 + libllvm"${LLVM_VER}" libssl-dev lld-"${LLVM_VER}" llvm-"${LLVM_VER}" diff --git a/.github/workflows/c.yml b/.github/workflows/c.yml index f3ce5cfd..970f4825 100644 --- a/.github/workflows/c.yml +++ b/.github/workflows/c.yml @@ -67,20 +67,20 @@ jobs: id: install-c-tools run: | sudo tee -a /etc/apt/sources.list <