From c89c4cfd47c12a56c843166aeade4ebbcccf8c3d Mon Sep 17 00:00:00 2001 From: Roy Shilkrot Date: Tue, 5 Nov 2024 10:01:00 -0500 Subject: [PATCH] Refactor GitHub Actions workflow to remove dependency setup and adjust installation path --- .github/workflows/build.yaml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 72aba9e..1524ac8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,18 +29,6 @@ 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 }} @@ -48,4 +36,4 @@ jobs: run: cmake --build build --config ${{ matrix.build_type }} - name: Install - run: cmake --install build --prefix dist \ No newline at end of file + run: cmake --install build --prefix ./dist