From aa9d7182f14a741cdf6269a7cf7e79c8a67ded55 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Sun, 5 Jan 2025 12:26:15 +0300 Subject: [PATCH] modified the yml github actions fiile --- .github/workflows/cmake-multi-platform.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 771afcb..afe1440 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -48,30 +48,21 @@ jobs: run: | echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" - - name: Clone wxWidgets repository - run: | - git clone --recurse-submodules -j5 https://github.com/wxWidgets/wxWidgets.git - - name: Install dependencies for Ubuntu if: ${{ matrix.os == 'ubuntu-latest' }} run: | sudo apt-get update && sudo apt-get install -y build-essential libgtk-3-dev cmake apt-utils git wget - - name: Install dependencies for Windows - if: ${{ matrix.os == 'windows-latest' }} - run: | - choco install wxwidgets - - name: Configure CMake run: | # Configure with the provided CMakeLists.txt approach - cmake -B ${{ steps.strings.outputs.build-output-dir }} -DCMAKE_BUILD_TYPE=Release -DwxBUILD_SHARED=OFF \ + cmake -DCMAKE_BUILD_TYPE=Release -DwxBUILD_SHARED=OFF \ -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} \ -S ${{ github.workspace }} - name: Build the project run: | - cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} --clean-first + cmake --build . --config ${{ matrix.build_type }} --clean-first - name: Test working-directory: ${{ steps.strings.outputs.build-output-dir }}