Skip to content

Commit

Permalink
Updated Github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
5cript committed Oct 10, 2023
1 parent b9db8b4 commit 8abd93c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8abd93c

Please sign in to comment.