@@ -13,28 +13,33 @@ jobs:
1313 fail-fast : false
1414 matrix :
1515 python : ["3.7", "3.8", "3.9", "3.10"]
16- os : [ubuntu-18 .04, windows-2019 ]
16+ os : [ubuntu-22 .04, windows-2022 ]
1717 steps :
18- - uses : actions/checkout@v2
18+ - name : Checkout
19+ uses : actions/checkout@v3
1920 - name : Set up Python ${{ matrix.python }}
20- uses : actions/setup-python@v2
21+ uses : actions/setup-python@v4
2122 with :
2223 python-version : ${{ matrix.python }}
24+ - name : Set up PDM
25+ uses : pdm-project/setup-pdm@v3
26+ with :
27+ python-version : ${{ matrix.python }}
28+ cache : true
2329 - name : Setup VC
2430 uses : ilammy/msvc-dev-cmd@v1
2531 if : contains(matrix.os, 'windows')
2632 - name : Install CMake
2733 if : contains(matrix.os, 'ubuntu')
2834 run : |
29- CMAKE_VERSION=3.17.3
30- curl -sSL https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-Linux-x86_64.tar.gz | tar xz
31- sudo cp -rT cmake-$CMAKE_VERSION-Linux-x86_64 /usr/local
32- rm -rf cmake-$CMAKE_VERSION-Linux-x86_64
35+ CMAKE_VERSION=3.25.1
36+ curl -sSL https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-x86_64.tar.gz | tar xz
37+ sudo cp -rT cmake-${CMAKE_VERSION}-linux-x86_64 /usr/local
3338 - name : Install dependencies
3439 run : |
3540 cmake --version
3641 python -m pip install --upgrade setuptools pip wheel
37- python -m pip install poetry tox-gh-actions
42+ python -m pip install tox tox-gh-actions
3843 - name : Test with tox
3944 run : |
4045 tox
0 commit comments