Skip to content

Commit 9c598f4

Browse files
committed
upgrade to ubuntu20.04 for github ci
1 parent fab78c1 commit 9c598f4

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

.github/workflows/backend-ascend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818

1919
jobs:
2020
build_sdk_demo:
21-
runs-on: ubuntu-18.04
21+
runs-on: ubuntu-20.04
2222
strategy:
2323
matrix:
2424
python-version: [3.7]

.github/workflows/backend-ncnn.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818

1919
jobs:
2020
test_onnx2ncnn:
21-
runs-on: ubuntu-18.04
21+
runs-on: ubuntu-20.04
2222
strategy:
2323
matrix:
2424
python-version: [3.7]

.github/workflows/backend-pplnn.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818

1919
jobs:
2020
script_install:
21-
runs-on: ubuntu-18.04
21+
runs-on: ubuntu-20.04
2222
strategy:
2323
matrix:
2424
python-version: [3.7]

.github/workflows/backend-rknn.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919

2020
jobs:
2121
build_rknpu2:
22-
runs-on: ubuntu-18.04
22+
runs-on: ubuntu-20.04
2323
steps:
2424
- name: Checkout repository
2525
uses: actions/checkout@v3
@@ -31,7 +31,7 @@ jobs:
3131
run: |
3232
sh -x tools/scripts/ubuntu_cross_build_rknn.sh rk3588
3333
build_rknpu:
34-
runs-on: ubuntu-18.04
34+
runs-on: ubuntu-20.04
3535
steps:
3636
- name: Checkout repository
3737
uses: actions/checkout@v3

.github/workflows/backend-snpe.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818

1919
jobs:
2020
build_sdk_demo:
21-
runs-on: ubuntu-18.04
21+
runs-on: ubuntu-20.04
2222
steps:
2323
- name: Checkout repository
2424
uses: actions/checkout@v3

.github/workflows/backend-torchscript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818

1919
jobs:
2020
script_install:
21-
runs-on: ubuntu-18.04
21+
runs-on: ubuntu-20.04
2222
strategy:
2323
matrix:
2424
python-version: [3.7]

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222

2323
jobs:
2424
build_cpu_model_convert:
25-
runs-on: ubuntu-18.04
25+
runs-on: ubuntu-20.04
2626
strategy:
2727
matrix:
2828
python-version: [3.7]
@@ -70,7 +70,7 @@ jobs:
7070
pytest tests/test_deploy
7171
7272
build_cpu_sdk:
73-
runs-on: ubuntu-18.04
73+
runs-on: ubuntu-20.04
7474
steps:
7575
- name: Checkout repository
7676
uses: actions/checkout@v3
@@ -116,7 +116,7 @@ jobs:
116116
sh -x tools/scripts/ubuntu_cross_build_aarch64.sh
117117
118118
build_cuda102:
119-
runs-on: ubuntu-18.04
119+
runs-on: ubuntu-20.04
120120
container:
121121
image: pytorch/pytorch:1.9.0-cuda10.2-cudnn7-devel
122122
env:
@@ -164,7 +164,7 @@ jobs:
164164
coverage report -m
165165
166166
build_cuda111:
167-
runs-on: ubuntu-18.04
167+
runs-on: ubuntu-20.04
168168
container:
169169
image: pytorch/pytorch:1.8.0-cuda11.1-cudnn8-devel
170170

.github/workflows/java_api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
test_java_api:
19-
runs-on: ubuntu-18.04
19+
runs-on: ubuntu-20.04
2020
steps:
2121
- name: Checkout repository
2222
uses: actions/checkout@v3

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
lint:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-20.04
88
steps:
99
- uses: actions/checkout@v2
1010
- name: Set up Python 3.7

.github/workflows/quantize.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818

1919
jobs:
2020
test_ncnn_PTQ:
21-
runs-on: ubuntu-18.04
21+
runs-on: ubuntu-20.04
2222
container:
2323
image: pytorch/pytorch:1.8.0-cuda11.1-cudnn8-devel
2424

0 commit comments

Comments
 (0)