mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 20:54:28 +02:00
ci: the latest Ninja is now installed using pip
This commit is contained in:
18
.github/workflows/ci-conan.yml
vendored
18
.github/workflows/ci-conan.yml
vendored
@@ -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: |
|
||||
|
18
.github/workflows/ci-test-package-cmake.yml
vendored
18
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -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: |
|
||||
|
Reference in New Issue
Block a user