Skip to content

Commit

Permalink
Refactor CMake configuration command in workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
ak5k committed Jan 3, 2024
1 parent 630a5b6 commit fff3534
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@ jobs:
- name: Configure CMake
# Note the current configuration is for a basic C++ project. You'll need to update this for your specific needs.
shell: bash
run: |
cmake -B ${{ github.workspace }} ${{matrix.ninja}} \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-S ${{ github.workspace }} \
-DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }}}
run: cmake -B ${{ github.workspace }} ${{matrix.ninja}} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -S ${{ github.workspace }} -DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }}}

- name: Build
# Build your program with the given configuration
Expand Down

0 comments on commit fff3534

Please sign in to comment.