Update main.yml

This commit is contained in:
greg
2021-11-07 11:09:17 -05:00
parent a0fc2c1ef1
commit 9c00998a1c
+3 -1
View File
@@ -10,11 +10,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, macos-latest]
configs: [Release, Debug]
compiler: [gcc, clang]
steps:
- name: Checkout
uses: actions/checkout@v2.0.0
- name: Build and test
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