Skip to content

Commit

Permalink
Update CMake configuration for different operating systems
Browse files Browse the repository at this point in the history
  • Loading branch information
ak5k committed Jan 3, 2024
1 parent f249be1 commit acb5838
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,14 @@ jobs:
# Some setup steps may vary depending on the operating system
shell: bash
run: |
# if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
# sudo apt-get update
# sudo apt-get install -y cmake
# elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
# brew install cmake
# fi
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
choco install ninja
elif [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
# sudo apt-get update
# sudo apt-get install -y cmake ninja-build
elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
# brew install cmake ninja
fi
- name: Configure CMake
# Note the current configuration is for a basic C++ project. You'll need to update this for your specific needs.
Expand Down

0 comments on commit acb5838

Please sign in to comment.