From 9c00998a1c3b254f15c5b7aa09bb2c0ddb42156d Mon Sep 17 00:00:00 2001 From: greg Date: Sun, 7 Nov 2021 11:09:17 -0500 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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