1
0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-09-16 19:41:44 +02:00

Added CI Support for the CMake build, Linux/macOS only (for now)

This commit is contained in:
SteveGremory 2022-06-06 20:58:22 +05:30 committed by Jack O'Connor
parent b0a3863c06
commit d7f43a339a

View File

@ -275,3 +275,20 @@ jobs:
curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
cd /work
~/.cargo/bin/cargo test --features prefer_intrinsics
# CMake build test (Library only), current macOS/Linux only.
cmake_build:
name: CMake ${{ matrix.target.os }}
runs-on: ${{ matrix.target.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macOS-latest"]
steps:
- uses: actions/checkout@v3
- name: CMake generation
run: cmake . -Bbuild
working-directory: ./c
- name: CMake build
run: cmake --build build/
working-directory: ./c