Skip to content

Commit ab97f5b

Browse files
(actions) python2 is not supported anymore (#2279)
1 parent e554dc6 commit ab97f5b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ env:
66
GH_REPO_NAME: ${{ github.event.repository.name }}
77
DOXYFILE: ${{ github.workspace }}/.doc_autogeneration.doxygen
88
GH_REPO_REF: ${{ github.repositoryUrl }}
9+
PYTHON3_VERSION: python3.8
910

1011
jobs:
1112
build:
@@ -41,7 +42,6 @@ jobs:
4142
CI_OS_NAME: linux
4243
CI_BUILD_NUMBER: ${{ github.run_number }}
4344
CI_COMMIT: ${{ github.sha }}
44-
PYTHON3_VERSION: python3.8
4545
DOCS: true
4646
# Ubuntu 18.04 - Python - CMake - CUDA
4747
- os: ubuntu-18.04
@@ -60,7 +60,6 @@ jobs:
6060
WITH_CUDA: false
6161
WITH_CUDNN: false
6262
CI_OS_NAME: linux
63-
PYTHON3_VERSION: python3.8
6463
# Ubuntu 18.04 - Python - CMake - CPU
6564
- os: ubuntu-18.04
6665
os_name: linux
@@ -81,7 +80,6 @@ jobs:
8180
# WITH_CUDNN: false
8281
# WITH_OPEN_CL: true
8382
# CI_OS_NAME: linux
84-
# PYTHON3_VERSION: python3.8
8583
# Ubuntu 18.04 - Python - CMake - OpenCL
8684
- os: ubuntu-18.04
8785
os_name: linux
@@ -102,7 +100,6 @@ jobs:
102100
WITH_CUDNN: false
103101
WITH_DEBUG: true
104102
CI_OS_NAME: linux
105-
PYTHON3_VERSION: python3.8
106103
# Ubuntu 18.04 - Python - CMake - CPU - Debug
107104
- os: ubuntu-18.04
108105
os_name: linux
@@ -123,7 +120,6 @@ jobs:
123120
WITH_CUDA: false
124121
WITH_CUDNN: false
125122
CI_OS_NAME: linux
126-
PYTHON3_VERSION: python3.8
127123
# Ubuntu 20.04 - Default - CMake - CPU
128124
- os: ubuntu-20.04
129125
os_name: linux
@@ -238,9 +234,9 @@ jobs:
238234
with:
239235
fetch-depth: 0
240236
submodules: recursive
241-
- uses: actions/setup-python@v2
237+
- uses: actions/setup-python@v5
242238
with:
243-
python-version: 2.x
239+
python-version: 3.8
244240
if: ${{ matrix.env.WITH_PYTHON }}
245241
- name: Install (Linux)
246242
run: scripts/CI/install_deps_ubuntu.sh

0 commit comments

Comments
 (0)