Skip to content

Adding Prerequisites to README #3

Adding Prerequisites to README

Adding Prerequisites to README #3

Workflow file for this run

name: Native Builds
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CMAKE_BUILD_PARALLEL_LEVEL: 3
CTEST_OUTPUT_ON_FAILURE: 1
jobs:
native-linux:
name: Native Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Dependencies
run: |
sudo apt-get install -y linux-headers-$(uname -r) libssl-dev nlohmann-json3-dev doctest-dev
- name: Create CMake Cache
run: |
cmake -B build -DTESTING=ON
- name: Build
run: |
cmake --build build
- name: Test
run: |
cmake --build build --target test
native-macos:
name: Native MacOs
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Dependencies
run: |
brew install nlohmann-json doctest
- name: Create CMake Cache
run: |
cmake -B build -DTESTING=ON
- name: Build
run: |
cmake --build build
- name: Test
run: |
cmake --build build --target test