aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/cmake.yml
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-09-13 15:30:19 +0000
committerterminaldweller <devi@terminaldweller.com>2024-09-13 15:30:19 +0000
commit3f025f15df5e888611c873ba3d8c8afc23f10754 (patch)
tree0741c5d9466634bf20d67e1e3f1bc8ba33761963 /.github/workflows/cmake.yml
parentfix (diff)
downloadcgrep-3f025f15df5e888611c873ba3d8c8afc23f10754.tar.gz
cgrep-3f025f15df5e888611c873ba3d8c8afc23f10754.zip
fix
Diffstat (limited to '.github/workflows/cmake.yml')
-rw-r--r--.github/workflows/cmake.yml8
1 files changed, 1 insertions, 7 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index db2a242..1a71826 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -15,13 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Get LLVM
- run:
- - apt install -y wget cmake git lsb-release software-properties-common gpg
- - wget https://apt.llvm.org/llvm.sh
- - chmod +x llvm.sh
- - sudo ./llvm.sh ${{matrix.version}}
- - sudo apt-get install -y clang-${{matrix.version}} llvm-${{matrix.version}}-dev libclang-common-${{matrix.version}}-dev libclang-${{matrix.version}}-dev
- - git submodule init && git submodule update
+ run: apt install -y wget cmake git lsb-release software-properties-common gpg && wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh ${{matrix.version}} && sudo apt-get install -y clang-${{matrix.version}} llvm-${{matrix.version}}-dev libclang-common-${{matrix.version}}-dev libclang-${{matrix.version}}-dev && git submodule init && git submodule update
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=clang++-${{matrix.version}} -DLLVM_CONF=llvm-config-${{matrix.version}} -DUSE_MONOLITH_LIBTOOLING=ON
- name: Build