Skip to content

Commit 45c578a

Browse files
committed
Bump minimum CMake version to avoid warning and fix pipelines for macos-arm64 and windows
1 parent 74291c4 commit 45c578a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
run: |
2121
curl -o libsodium-1.0.20-stable-msvc.zip https://download.libsodium.org/libsodium/releases/libsodium-1.0.20-stable-msvc.zip
2222
unzip libsodium-1.0.20-stable-msvc.zip
23+
mv libsodium/x64/Debug/v143 libsodium/x64/Debug/v144
24+
mv libsodium/x64/Release/v143 libsodium/x64/Release/v144
2325
2426
- name: Run cmake
2527
shell: bash
@@ -106,7 +108,7 @@ jobs:
106108
run: |
107109
brew uninstall --ignore-dependencies libsodium
108110
brew fetch --force --bottle-tag=arm64_sonoma libsodium | tee brew_output
109-
downloaded_to=$(grep "Downloaded to" brew_output)
111+
downloaded_to=$(grep "Downloaded to" brew_output | tail -n 1)
110112
downloaded_to_split=($downloaded_to)
111113
brew install ${downloaded_to_split[2]}
112114

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5)
1+
cmake_minimum_required(VERSION 3.10)
22
project(libxeddsa VERSION 2.0.0 LANGUAGES C)
33

44
include(CTest)

ref10/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5)
1+
cmake_minimum_required(VERSION 3.10)
22
project(ref10 LANGUAGES C)
33

44
include(CTest)

0 commit comments

Comments
 (0)