diff --git a/.github/workflows/project-build-mac.yml b/.github/workflows/project-build-mac.yml index 25b398a..d784b27 100644 --- a/.github/workflows/project-build-mac.yml +++ b/.github/workflows/project-build-mac.yml @@ -17,6 +17,6 @@ jobs: - name: install pre-reqs run: brew install gcc cmake - name: build step - run: mkdir build; cd build; cmake -DBUILD_PYTHON_INTERFACE=OFF -DCMAKE_CXX_COMPILER=/usr/bin/g++ ..; make; + run: mkdir build; cd build; CXX="gcc-11" CC="gcc-11"; cmake -DBUILD_PYTHON_INTERFACE=OFF -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ ..; make; - name: run tests run: sh test.sh