Skip to content

Small fixes

Small fixes #792

Workflow file for this run

name: MacOS (Clang)
on: [push]
env:
BUILD_TYPE: RelWithDebInfo
VCPKG_DEFAULT_TRIPLET: arm64-osx
CMAKE_MAKE_PROGRAM: make
jobs:
ci:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: lukka/get-cmake@latest
- name: Setup Vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: 344525f74edb4c1d47c559d8bbe06240271441d8
- name: Clone MDLIB
run: git submodule update --init --recursive
- name: Cmake Version
run: cmake --version
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DMD_ENABLE_VLX=ON -DMD_FORCE_ASSERTIONS=ON $GITHUB_WORKSPACE
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --config $BUILD_TYPE
- name: Test
working-directory: ${{github.workspace}}/build
shell: bash
run: ctest -C $BUILD_TYPE --rerun-failed --output-on-failure