diff --git a/.github/workflows/ci-conan.yml b/.github/workflows/ci-conan.yml index 2a41e36f..b6f6254c 100644 --- a/.github/workflows/ci-conan.yml +++ b/.github/workflows/ci-conan.yml @@ -167,24 +167,14 @@ jobs: shell: bash run: | sudo xcode-select -s /Applications/Xcode_${{ matrix.config.compiler.version }}.app && /usr/bin/xcodebuild -version - - name: Install Ninja - shell: bash - run: | - if [ $RUNNER_OS == 'Linux' ]; then - sudo apt install -y ninja-build - elif [ $RUNNER_OS == 'Windows' ]; then - choco install ninja - elif [ $RUNNER_OS == 'macOS' ]; then - brew update - brew install ninja - else - echo "'$RUNNER_OS' not supported" - exit 1 - fi - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.8" + - name: Install Ninja + shell: bash + run: | + pip install -U ninja - name: Install Conan shell: bash run: | diff --git a/.github/workflows/ci-test-package-cmake.yml b/.github/workflows/ci-test-package-cmake.yml index add6fdf1..ea9afa96 100644 --- a/.github/workflows/ci-test-package-cmake.yml +++ b/.github/workflows/ci-test-package-cmake.yml @@ -162,24 +162,14 @@ jobs: shell: bash run: | sudo xcode-select -s /Applications/Xcode_${{ matrix.config.compiler.version }}.app && /usr/bin/xcodebuild -version - - name: Install Ninja - shell: bash - run: | - if [ $RUNNER_OS == 'Linux' ]; then - sudo apt install -y ninja-build - elif [ $RUNNER_OS == 'Windows' ]; then - choco install ninja - elif [ $RUNNER_OS == 'macOS' ]; then - brew update - brew install ninja - else - echo "'$RUNNER_OS' not supported" - exit 1 - fi - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.8" + - name: Install Ninja + shell: bash + run: | + pip install -U ninja - name: Install Conan shell: bash run: |