Skip to content

Commit

Permalink
github: Add env paths to cmake packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Jun 20, 2024
1 parent f06693e commit 33710a7
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ jobs:
image:
ghcr.io/lifting-bits/patchestry-ubuntu-22.04-llvm-18-dev:latest

env:
CMAKE_PREFIX_PATH: "/usr/lib/llvm-18/lib/cmake/mlir/;/usr/lib/llvm-18/lib/cmake/clang/"
LLVM_EXTERNAL_LIT: "/usr/local/bin/lit"

steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -68,7 +72,10 @@ jobs:
image:
ghcr.io/lifting-bits/patchestry-ubuntu-22.04-llvm-18-dev:latest

env: { CXX: clang++-18 }
env:
CXX: clang++-18
CMAKE_PREFIX_PATH: "/usr/lib/llvm-18/lib/cmake/mlir/;/usr/lib/llvm-18/lib/cmake/clang/"
LLVM_EXTERNAL_LIT: "/usr/local/bin/lit"

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -98,6 +105,10 @@ jobs:
image:
ghcr.io/lifting-bits/patchestry-ubuntu-22.04-llvm-18-dev:latest

env:
CMAKE_PREFIX_PATH: "/usr/lib/llvm-18/lib/cmake/mlir/;/usr/lib/llvm-18/lib/cmake/clang/"
LLVM_EXTERNAL_LIT: "/usr/local/bin/lit"

steps:
- uses: actions/checkout@v4

Expand All @@ -124,6 +135,10 @@ jobs:
&& github.event_name == 'push'
&& github.repository_owner == 'lifting-bits'

env:
CMAKE_PREFIX_PATH: "/usr/lib/llvm-18/lib/cmake/mlir/;/usr/lib/llvm-18/lib/cmake/clang/"
LLVM_EXTERNAL_LIT: "/usr/local/bin/lit"

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 33710a7

Please sign in to comment.