From 1c378c209cd0482d22c6cfd3d050dfaae2b82ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Petit?= Date: Sun, 24 Nov 2024 19:41:39 +0000 Subject: [PATCH] ci: include LLVM libraries in Mesa artifacts Change-Id: I9eb14ddada41a4fa328baf6dd18d2e0bd3b036bc --- .github/workflows/build-mesa.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-mesa.yml b/.github/workflows/build-mesa.yml index ce3585dc..4bc30eee 100644 --- a/.github/workflows/build-mesa.yml +++ b/.github/workflows/build-mesa.yml @@ -110,7 +110,18 @@ jobs: - name: Build run: | ninja -C mesa/build + - name: Prepare artifact + shell: bash + run: | + mkdir mesa-artifact + cd mesa-artifact + cp -rvf '${{ github.workspace }}'/mesa/build/src/gallium/targets/lavapipe/* . + if [ "$RUNNER_OS" != "Windows" ]; then + cp -vf /usr/local/lib/libLLVM* . + else + cp -vf 'C:/Program Files (x86)/LLVM/bin/LLVM-C.dll' . + fi - uses: actions/upload-artifact@v4 with: name: mesa-${{ runner.os }} - path: ${{ github.workspace }}/mesa/build/src/gallium/targets/lavapipe + path: ${{ github.workspace }}/mesa-artifact