Skip to content

Commit 97f5aff

Browse files
alandefreitasvinniefalco
authored andcommitted
ci: update workflows
1 parent 2becf2d commit 97f5aff

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,29 +53,30 @@ jobs:
5353
find "$llvm_dir" -type f
5454
5555
- name: Setup C++
56-
uses: alandefreitas/cpp-actions/setup-cpp@v1.1.0
56+
uses: alandefreitas/cpp-actions/setup-cpp@v1.2.1
5757
id: setup-cpp
5858
with:
5959
compiler: ${{ matrix.compiler }}
6060
version: ${{ matrix.version }}
61+
update-ld-library-path: true
6162

6263
- name: Install packages
6364
if: ${{ matrix.install }}
64-
uses: alandefreitas/cpp-actions/package-install@v1.0.0
65+
uses: alandefreitas/cpp-actions/package-install@v1.2.1
6566
id: package-install
6667
with:
6768
apt-get: ${{ matrix.install }}
6869

6970
- name: CMake Workflow (C++${{ matrix.std }})
70-
uses: alandefreitas/cpp-actions/cmake-workflow@v1.0.0
71+
uses: alandefreitas/cpp-actions/cmake-workflow@v1.2.1
7172
with:
72-
cmake-min-version: 3.13
73+
cmake-version: '>=3.20'
7374
cxxstd: ${{ matrix.std }}
7475
cxx: ${{ steps.setup-cpp.outputs.cxx }}
7576
cc: ${{ steps.setup-cpp.outputs.cc }}
7677
generator: Ninja
7778
install-prefix: .local
78-
extra-args: ${{ format('-D LLVM_ROOT={0} -D Clang_ROOT={0} -DCMAKE_EXPORT_COMPILE_COMMANDS=ON', (startsWith( matrix.os , 'windows') && steps.llvm-install.outputs.llvm-dir) || '/usr/local') }}
79+
extra-args: ${{ format('-D LLVM_ROOT="{0}" -D Clang_ROOT="{0}" -D CMAKE_EXPORT_COMPILE_COMMANDS=ON', steps.llvm-install.outputs.llvm-dir || '/usr/local') }}
7980

8081
- name: Create packages
8182
working-directory: ./build

0 commit comments

Comments
 (0)