Use the latest versions of Python, Ninja, and CMake in CI

This commit is contained in:
Robin Linden
2021-11-02 22:10:36 +01:00
parent a549f50a1b
commit a606dc79ed
2 changed files with 4 additions and 4 deletions

View File

@@ -41,10 +41,10 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.10"
- name: Install
run: pip install cmake==3.18.2.post1 ninja==1.10.0.post2 --upgrade
run: pip install cmake==3.21.4 ninja==1.10.2.2 --upgrade
- name: Setup
run: echo "CC=${{ matrix.compiler }}" >> $GITHUB_ENV

View File

@@ -34,10 +34,10 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.10"
- name: Install
run: pip install cmake==3.18.2.post1 ninja==1.10.0.post2 --upgrade
run: pip install cmake==3.21.4 ninja==1.10.2.2 --upgrade
- name: CMake
run: cmake -S . -B build -G "${{ matrix.generator }}" ${{ matrix.cmake-args }}