File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed
Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 5252 sudo apt install -y pkgconf libusb-1.0-0-dev # Needed for realsense
5353 sudo apt install -y python3 libpython3-dev python3-pip python3-setuptools
5454 sudo pip3 install --upgrade pip
55- pip3 install pylddwrap==1.2.0 twine wheel==0.37.1
55+ pip3 install pylddwrap==1.2.0 wheel==0.37.1
5656
5757 echo "===========> Install CUDA and TensorRT"
5858
6262 sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
6363 sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
6464 sudo apt-get update
65- sudo apt-get install -y cuda-toolkit-11-0 libcudnn8 libnvinfer-dev libnvonnxparsers-dev libnvparsers-dev
65+ sudo apt-get install -y cuda-toolkit-11-0 libnvinfer-dev libnvonnxparsers-dev libnvparsers-dev
6666
6767 echo "===========> Set work dir"
6868
@@ -187,6 +187,7 @@ jobs:
187187 - name : Upload Python wheel to PyPi
188188 if : ${{ github.event_name == 'release' && !contains(github.ref, 'rc') }}
189189 run : |
190+ pip3 install twine
190191 twine upload --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} ${{github.workspace}}/build/pyFAST-*.whl
191192
192193 test-python-wheel :
Original file line number Diff line number Diff line change 2121
2222jobs :
2323 build :
24- # The CMake configure and build commands are platform agnostic and should work equally
25- # well on Windows or Mac. You can convert this to a matrix build if you need
26- # cross-platform coverage.
27- # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
28- runs-on : windows-2019
29-
24+ runs-on : windows-2022
3025 steps :
3126 - uses : actions/checkout@v2
3227 - name : Install dependencies
@@ -231,7 +226,7 @@ jobs:
231226 fail-fast : false
232227 matrix :
233228 python-version : ['3.6', '3.10', '3.12']
234- runs-on : windows-2019
229+ runs-on : windows-2022
235230 steps :
236231 - name : Download wheel artifact
237232 uses : actions/download-artifact@v4
@@ -262,7 +257,7 @@ jobs:
262257 test-python :
263258 name : Run Python Tests
264259 needs : [build]
265- runs-on : windows-2019
260+ runs-on : windows-2022
266261 steps :
267262 - name : Checkout
268263 uses : actions/checkout@v4
@@ -317,7 +312,7 @@ jobs:
317312# test-cpp:
318313# name: Run C++ Tests
319314# needs: [build]
320- # runs-on: windows-2019
315+ # runs-on: windows-2022
321316# steps:
322317# - name: Download artifacts
323318# uses: actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments