Skip to content

feat: document encoding utilities and bump version #69

feat: document encoding utilities and bump version

feat: document encoding utilities and bump version #69

Workflow file for this run

name: CI-macOS
on:
push:
branches:
- main
- release/**
- stable
pull_request:
branches:
- main
- release/**
- codex/**
jobs:
Tests-macOS:
runs-on: macos-latest
strategy:
matrix:
std: [11, 17]
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
brew update
brew uninstall --ignore-dependencies cmake || true
brew install 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: macos-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"