diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 0987621f..75ac7f68 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -113,20 +113,20 @@ jobs: - name: Set Env Vars run: | - echo "export LDFLAGS=-L${{env.BREW_PREFIX}}/lib" >> $GITHUB_ENV - echo "export CPPFLAGS=-I${{env.BREW_PREFIX}}/include" >> $GITHUB_ENV + echo "export LDFLAGS=-L$BREW_PREFIX/lib" >> $GITHUB_ENV + echo "export CPPFLAGS=-I$BREW_PREFIX/include" >> $GITHUB_ENV - name: Configure CMake run: > cmake - -DCMAKE_C_COMPILER=${{env.BREW_PREFIX}}/opt/llvm@16/bin/clang - -DCMAKE_CXX_COMPILER=${{env.BREW_PREFIX}}/opt/llvm@16/bin/clang++ - -DCMAKE_LINKER=${{env.BREW_PREFIX}}/opt/llvm@16/bin/lld + -DCMAKE_C_COMPILER=$BREW_PREFIX/opt/llvm@16/bin/clang + -DCMAKE_CXX_COMPILER=$BREW_PREFIX/opt/llvm@16/bin/clang++ + -DCMAKE_LINKER=$BREW_PREFIX/opt/llvm@16/bin/lld -S ${{github.workspace}} -B ${{github.workspace}}/build/clang_${{env.BUILD_TYPE}} -G"Ninja" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - -DBREW_PREFIX="${{env.BREW_PREFIX}}" + -DBREW_PREFIX="$BREW_PREFIX" -DNUI_BUILD_EXAMPLES=off -DCMAKE_CXX_EXTENSIONS=on -DCMAKE_CXX_STANDARD=20