diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 465caa8..0fac0d7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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