exiv2/.github/workflows/on_PR_mac_special_builds.yml
Luis Diaz e1ed1df0d7 Definition of new CMake presets & usage in CI jobs
Additional interesting changes in this commit:
- conan: use cmake-conan for better CMake-Conan integration
- cmake+doc: Remove deprecated EXIV2_ENABLE_WIN_UNICODE
- Ignore CMakeUserPresets.json
- doc: Add notes about the usage of CMake presets
2022-05-19 14:52:58 +02:00

38 lines
909 B
YAML

name: On PRs - Mac Special Builds
on:
workflow_dispatch:
pull_request:
paths-ignore:
- "*.md"
jobs:
MacOS_releaseSanitizers:
name: 'MacOS - Clang - Release+Sanitizers'
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: install dependencies
run: |
brew install ninja
pushd /tmp
curl -LO https://github.com/google/googletest/archive/release-1.8.0.tar.gz
tar xzf release-1.8.0.tar.gz
mkdir -p googletest-release-1.8.0/build
pushd googletest-release-1.8.0/build
cmake .. ; make ; make install
popd
popd
- name: Build
run: |
cmake --preset base_mac -S . -B build -DEXIV2_TEAM_USE_SANITIZERS=ON
cmake --build build --parallel
- name: Tests
run: |
cd build
ctest --output-on-failure