Skip to content

Commit

Permalink
Refactor GitHub Actions workflow to remove dependency setup and adjus…
Browse files Browse the repository at this point in the history
…t installation path
  • Loading branch information
royshil committed Nov 5, 2024
1 parent 9b6d603 commit c89c4cf
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,11 @@ jobs:
- name: Set up CMake
uses: jwlawson/actions-setup-cmake@v2

- name: Set up dependencies
run: |
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
sudo apt-get update
sudo apt-get install -y cmake g++ wget
elif [ "${{ matrix.os }}" == "macos-latest" ]; then
brew update
brew install cmake
elif [ "${{ matrix.os }}" == "windows-latest" ]; then
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
fi
- name: Configure CMake
run: cmake -B build -S . -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}

- name: Build
run: cmake --build build --config ${{ matrix.build_type }}

- name: Install
run: cmake --install build --prefix dist
run: cmake --install build --prefix ./dist

0 comments on commit c89c4cf

Please sign in to comment.