Skip to content

Commit 16f5c43

Browse files
arturbacArtur Bać
and
Artur Bać
authored
update cpm and workflows (#5)
Co-authored-by: Artur Bać <artur@ebasoft.com.pl>
1 parent 5814ee6 commit 16f5c43

File tree

6 files changed

+63
-228
lines changed

6 files changed

+63
-228
lines changed

.github/workflows/unit-tests.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ jobs:
2323
run: |
2424
wget https://apt.llvm.org/llvm.sh
2525
chmod +x llvm.sh
26-
sudo ./llvm.sh 18
26+
sudo ./llvm.sh 19
2727
2828
- name: Install dependencies
2929
run: |
3030
sudo apt-get update
31-
sudo apt-get install -y gcc-14 g++-14 cmake ninja-build clang-18 libfmt-dev libc++-18-dev libc++abi-18-dev
32-
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-18 100
33-
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 100
31+
sudo apt-get install -y gcc-14 g++-14 cmake ninja-build clang-19 libfmt-dev libc++-19-dev libc++abi-19-dev
32+
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-19 100
33+
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-19 100
3434
35-
- name: tests clang-18-release
36-
run: cmake --workflow --preset="clang-18-release"
35+
- name: tests clang-19-release
36+
run: cmake --workflow --preset="clang-19-release"
3737

38-
- name: tests clang-18-libc++release
39-
run: cmake --workflow --preset="clang-18-libc++release"
38+
- name: tests clang-19-libc++release
39+
run: cmake --workflow --preset="clang-19-libc++release"
4040

4141
- name: tests gcc-14-release
4242
run: cmake --workflow --preset="gcc-14-release"

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ if( PROJECT_IS_TOP_LEVEL AND STRALGO_ENABLE_UNIT_TESTS)
2121
enable_testing()
2222
endif()
2323

24-
include(cmake/CPM.cmake)
24+
include(cmake/get_cpm.cmake)
2525
# ---- Add dependencies via CPM ----
2626
# see https://github.com/cpm-cmake/CPM.cmake for more info
2727
CPMAddPackage(
2828
NAME PackageProject.cmake
2929
GITHUB_REPOSITORY TheLartians/PackageProject.cmake
30-
VERSION 1.11.2
30+
VERSION 1.12.0
3131
)
3232

3333
#----------------------------------------------------------------
@@ -36,7 +36,7 @@ CPMAddPackage(
3636
CPMAddPackage(
3737
small_vectors
3838
GITHUB_REPOSITORY arturbac/small_vectors
39-
GIT_TAG v3.1.8
39+
GIT_TAG v3.1.9
4040
)
4141

4242
if( PROJECT_IS_TOP_LEVEL )

0 commit comments

Comments
 (0)