mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 05:04:27 +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
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo xcode-select -s /Applications/Xcode_${{ matrix.config.compiler.version }}.app && /usr/bin/xcodebuild -version
|
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
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.8"
|
python-version: "3.8"
|
||||||
|
- name: Install Ninja
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
pip install -U ninja
|
||||||
- name: Install Conan
|
- name: Install Conan
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo xcode-select -s /Applications/Xcode_${{ matrix.config.compiler.version }}.app && /usr/bin/xcodebuild -version
|
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
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.8"
|
python-version: "3.8"
|
||||||
|
- name: Install Ninja
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
pip install -U ninja
|
||||||
- name: Install Conan
|
- name: Install Conan
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user