Skip to content

feat(secret): improve secret_string safety and speed #171

feat(secret): improve secret_string safety and speed

feat(secret): improve secret_string safety and speed #171

Workflow file for this run

name: CI-Linux
on:
push:
branches:
- main
- release/**
- stable
pull_request:
branches:
- main
- release/**
- codex/**
jobs:
Tests-Linux:
runs-on: ubuntu-latest
strategy:
matrix:
std: [11, 17]
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y cmake
- name: Configure
run: cmake -S . -B build -DHMACCPP_BUILD_TESTS=ON -DCMAKE_CXX_STANDARD=${{ matrix.std }}
- name: Build
run: cmake --build build
- name: Run tests
run: ctest --test-dir build --output-on-failure -R "test_all|test_totp"
vcpkg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install vcpkg
run: |
git clone https://github.com/microsoft/vcpkg.git
./vcpkg/bootstrap-vcpkg.sh
./vcpkg/vcpkg install gtest
- name: Configure
run: cmake -S . -B build -DHMACCPP_BUILD_TESTS=ON -DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake
- name: Build
run: cmake --build build
- name: Run tests
run: ctest --test-dir build --output-on-failure -R "test_all|test_totp"