diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c419b098b..220796cc7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -185,13 +185,13 @@ jobs: name=$(lsb_release -s -c) sudo add-apt-repository -y "deb http://apt.llvm.org/$name/ llvm-toolchain-$name-18 main" sudo add-apt-repository -y "deb-src http://apt.llvm.org/$name/ llvm-toolchain-$name-18 main" - sudo apt-get install -y clang-18 llvm-18 lld lld-18 + sudo apt-get install -y clang-18 llvm-18 lld-18 - run: cargo install wasm-component-ld@0.5.5 - run: | cmake -G Ninja -B build -S . \ - -DCMAKE_C_COMPILER=clang-18 \ - -DCMAKE_CXX_COMPILER=clang++-18 \ - -DCMAKE_NM=llvm-nm-18 \ + -DCMAKE_C_COMPILER=/usr/lib/llvm-18/bin/clang \ + -DCMAKE_CXX_COMPILER=/usr/lib/llvm-18/bin/clang++ \ + -DCMAKE_NM=/usr/lib/llvm-18/bin/clang/llvm-nm \ -DCMAKE_SYSTEM_NAME=WASI \ -DWASI_SDK_INCLUDE_TESTS=ON - run: ninja -C build