Add preprocessor macro GTL_DISABLE_MIX
to disable hash mixing. (#29)
#267
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS | |
on: | |
push: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest] | |
compiler: [g++, clang++] | |
flags: [-std=c++20] | |
optimize: [-O2] | |
env: | |
CXX: ${{ matrix.compiler }} | |
CXXFLAGS: ${{ matrix.flags }} ${{ matrix.optimize }} | |
CTEST_OUTPUT_ON_FAILURE: 1 | |
CTEST_NO_TESTS_ACTION: error | |
CTEST_PARALLEL_LEVEL: 0 | |
CMAKE_BUILD_PARALLEL_LEVEL: 4 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: CMake configure | |
run: cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_BUILD_TYPE=Release -B build | |
- name: CMake build | |
run: cmake --build build | |
- name: CMake test | |
run: ctest --test-dir build |