mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-11-08 12:59:17 +01:00
Added CI Support for the CMake build, Linux/macOS only (for now)
This commit is contained in:
parent
b0a3863c06
commit
d7f43a339a
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user