Skip to content

Commit

Permalink
Update build-and-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
anderslanglands authored Jan 18, 2025
1 parent 961fe50 commit 98a5ab1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ jobs:
cmake -B build -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_PREFIX_PATH=${{ steps.deps.outputs.llvm-dir }}
- name: Build
working-directory: ${{ github.workspace }}
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
run: cmake --build build --config ${{ matrix.build_type }}

- name: Test
working-directory: ${{ github.workspace }}
Expand Down

0 comments on commit 98a5ab1

Please sign in to comment.