Skip to content

Commit 40cddfd

Browse files
author
yejunjin
authored
rename runner labels from os to arch (#26)
1 parent 483e9cf commit 40cddfd

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/release_packages.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build-deb:
10-
runs-on: [self-hosted, Linux, X64, spr, sg]
10+
runs-on: [self-hosted, Linux, X64]
1111
container:
1212
image: registry-1.docker.io/dashinfer/dev-ubuntu-22.04-x86:v1
1313
defaults:
@@ -41,14 +41,14 @@ jobs:
4141
build-rpm:
4242
strategy:
4343
matrix:
44-
os: [spr, yitian]
44+
arch: [X64, ARM64]
4545
image: ["dev-centos7-x86:v1", "dev-alinux-arm:v1"]
4646
exclude:
47-
- os: spr
47+
- arch: X64
4848
image: "dev-alinux-arm:v1"
49-
- os: yitian
49+
- arch: ARM64
5050
image: "dev-centos7-x86:v1"
51-
runs-on: [self-hosted, Linux, "${{ matrix.os }}", sg]
51+
runs-on: [self-hosted, Linux, "${{ matrix.arch }}"]
5252
container:
5353
image: registry-1.docker.io/dashinfer/${{ matrix.image }}
5454
defaults:
@@ -79,21 +79,21 @@ jobs:
7979
- name: Upload rpm package
8080
uses: actions/upload-artifact@v3
8181
with:
82-
name: dashinfer-rpm-${{ matrix.os }}
82+
name: dashinfer-rpm-${{ matrix.arch }}
8383
path: build/*.rpm
8484

8585

8686
build-wheels:
8787
strategy:
8888
matrix:
89-
os: [spr, yitian]
89+
arch: [X64, ARM64]
9090
image: ["dev-manylinux-x86:v1", "dev-manylinux-arm:v1"]
9191
exclude:
92-
- os: spr
92+
- arch: X64
9393
image: "dev-manylinux-arm:v1"
94-
- os: yitian
94+
- arch: ARM64
9595
image: "dev-manylinux-x86:v1"
96-
runs-on: [self-hosted, Linux, "${{ matrix.os }}", sg]
96+
runs-on: [self-hosted, Linux, "${{ matrix.arch }}"]
9797
container:
9898
image: registry-1.docker.io/dashinfer/${{ matrix.image }}
9999
steps:
@@ -112,20 +112,20 @@ jobs:
112112
- name: Upload wheels
113113
uses: actions/upload-artifact@v3
114114
with:
115-
name: python-manylinux-wheels-${{ matrix.os }}
115+
name: python-manylinux-wheels-${{ matrix.arch }}
116116
path: python/wheelhouse/*-manylinux*.whl
117117

118118
test:
119119
strategy:
120120
matrix:
121-
os: [spr, yitian]
121+
arch: [X64, ARM64]
122122
image: ["test-ubuntu-x86:v1", "test-centos-arm:v1"]
123123
exclude:
124-
- os: spr
124+
- arch: X64
125125
image: "test-centos-arm:v1"
126-
- os: yitian
126+
- arch: ARM64
127127
image: "test-ubuntu-x86:v1"
128-
runs-on: [self-hosted, Linux, "${{ matrix.os }}", sg]
128+
runs-on: [self-hosted, Linux, "${{ matrix.arch }}"]
129129
container:
130130
image: registry-1.docker.io/dashinfer/${{ matrix.image }}
131131
volumes:
@@ -139,7 +139,7 @@ jobs:
139139
- name: Download wheels
140140
uses: actions/download-artifact@v3
141141
with:
142-
name: python-manylinux-wheels-${{ matrix.os }}
142+
name: python-manylinux-wheels-${{ matrix.arch }}
143143
path: python/wheelhouse
144144

145145
- name: Test manylinux wheels

0 commit comments

Comments
 (0)