Implement JWK utilities, VC, and MultiCredential #774
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build for older MacOS | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
CTEST_OUTPUT_ON_FAILURE: 1 | |
MACOSX_DEPLOYMENT_TARGET: 10.11 | |
jobs: | |
build: | |
runs-on: macos-latest | |
env: | |
CMAKE_BUILD_DIR: ${{ github.workspace }}/build | |
TOOLCHAIN_FILE: $VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake | |
steps: | |
- uses: actions/checkout@v2 | |
- name: dependencies | |
run: | | |
brew install llvm pkg-config | |
ln -s "/usr/local/opt/llvm/bin/clang-format" "/usr/local/bin/clang-format" | |
ln -s "/usr/local/opt/llvm/bin/clang-tidy" "/usr/local/bin/clang-tidy" | |
- name: Restore cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
${{ env.CMAKE_BUILD_DIR }}/vcpkg_installed | |
key: ${{ runner.os }}-${{ hashFiles( '**/vcpkg.json' ) }} | |
- name: build the library | |
run: | | |
cmake -B "${{ env.CMAKE_BUILD_DIR }}" -DCMAKE_TOOLCHAIN_FILE="${{ env.TOOLCHAIN_FILE }}" . | |
cmake --build "${{ env.CMAKE_BUILD_DIR }}" --target mlspp |