summaryrefslogtreecommitdiffstats
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 19:22:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 19:22:07 +0000
commitb842d8449361bc56b30d781084fa829824607082 (patch)
tree772be8bd6ac3d7c5bc2709b6c5859c5aff7ed4b2 /.github/workflows/macos.yml
parentAdding debian version 0.17.0-3. (diff)
downloadrnp-b842d8449361bc56b30d781084fa829824607082.tar.xz
rnp-b842d8449361bc56b30d781084fa829824607082.zip
Merging upstream version 0.17.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml26
1 files changed, 13 insertions, 13 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 0cfea7e..42aef30 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -1,4 +1,4 @@
-# Copyright (c) 2023 [Ribose Inc](https://www.ribose.com).
+# Copyright (c) 2023-2024 [Ribose Inc](https://www.ribose.com).
# All rights reserved.
# This file is a part of rnp
#
@@ -57,7 +57,8 @@ concurrency:
cancel-in-progress: true
env:
- BOTAN_VERSION: 2.19.3
+ BOTAN_VERSION: 2.19.4
+ CORES: 3
jobs:
tests:
@@ -67,13 +68,14 @@ jobs:
fail-fast: false
matrix:
# On MacOS gcc is alias of clang these days
- os: [ macos-11, macos-12 ]
+ os: [ macos-12, macos-13, macos-14 ]
backend: [ 'botan' ]
shared_libs: [ 'on' ]
include:
- { os: 'macos-11', backend: 'openssl@1.1', shared_libs: 'on' }
- - { os: 'macos-12', backend: 'openssl@3', shared_libs: 'on' }
- - { os: 'macos-12', backend: 'botan', shared_libs: 'off' }
+ - { os: 'macos-14', backend: 'openssl@3', shared_libs: 'on' }
+ - { os: 'macos-14', backend: 'botan', shared_libs: 'off' }
+ - { os: 'macos-14', backend: 'botan3', shared_libs: 'on' }
if: "!contains(github.event.head_commit.message, 'skip ci')"
timeout-minutes: 250
@@ -98,14 +100,6 @@ jobs:
echo "OPENSSL_ROOT_DIR=$(brew --prefix openssl@3)" >> $GITHUB_ENV
echo "CRYPTO_BACKEND=openssl" >> $GITHUB_ENV
-# Brew installs Botan3 now and it is not supported yet
-#
-# - name: Configure botan backend
-# if: ${{ matrix.backend == 'botan' }}
-# run: |
-# echo "brew \"botan\"" >> Brewfile
-# echo "CRYPTO_BACKEND=botan" >> $GITHUB_ENV
-
- name: Install dependencies
run: brew bundle
@@ -133,6 +127,11 @@ jobs:
sudo make install
cd ..
+ - name: Install Botan3
+ if: matrix.backend == 'botan3'
+ run: |
+ brew install botan
+
- name: Configure
run: |
echo "CORES=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
@@ -141,6 +140,7 @@ jobs:
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$PWD/rnp-install" \
-DDOWNLOAD_GTEST=OFF \
+ -DCMAKE_CXX_FLAGS="-DS2K_MINIMUM_TUNING_RATIO=4"\
-DCRYPTO_BACKEND=${{ env.CRYPTO_BACKEND }} .
- name: Build