Take care of the case where another thread inserts the same key betwe… #175
Workflow file for this run
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: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest] | |
compiler: [g++, clang++] | |
flags: [-std=c++11, -std=c++17] | |
optimize: [-O2] | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Build and test | |
env: | |
CXX: ${{ matrix.compiler }} | |
CXXFLAGS: ${{ matrix.flags }} ${{ matrix.optimize }} | |
run: | | |
mkdir build && cd build && cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_BUILD_TYPE=Release .. && cmake --build . && make test |