name: phmap CI on: push: pull_request: branches: [ master ] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macos-latest] configs: [Release, Debug] compiler: [gcc, clang] steps: - name: Checkout uses: actions/checkout@v2.0.0 - name: Build and test env: CC: ${{ matrix.compiler }} run: | mkdir build && cd build && cmake -DPHMAP_BUILD_TESTS=ON -DPHMAP_BUILD_EXAMPLES=ON -DCMAKE_CXX_COMPILER=${COMPILER} -DCXXFLAGS="${CXX_FLAGS}" .. && cmake --build . && make test