@@ -15,21 +15,23 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
needs :
17
17
- test-linux
18
- # - test-linux-aarch64
18
+ - test-linux-aarch64
19
19
- test-macos
20
20
- test-windows
21
21
- lint
22
+ - docs-check
23
+ - test-cli
22
24
steps :
23
25
- run : exit 0
24
26
25
27
lint :
26
- runs-on : [self-hosted, X64 ]
28
+ runs-on : [self-hosted, Linux, amd64 ]
27
29
28
30
strategy :
29
31
matrix :
30
32
rust : [nightly]
31
33
steps :
32
- - uses : actions/checkout@v3
34
+ - uses : actions/checkout@v4
33
35
- uses : dtolnay/rust-toolchain@master
34
36
with :
35
37
components : rustfmt,clippy
@@ -42,13 +44,13 @@ jobs:
42
44
cargo fmt -- --check
43
45
44
46
docs-check :
45
- runs-on : [self-hosted, X64 ]
47
+ runs-on : [self-hosted, Linux, amd64 ]
46
48
47
49
strategy :
48
50
matrix :
49
51
rust : [nightly]
50
52
steps :
51
- - uses : actions/checkout@v3
53
+ - uses : actions/checkout@v4
52
54
- uses : dtolnay/rust-toolchain@master
53
55
with :
54
56
components : rustfmt,clippy
@@ -62,79 +64,79 @@ jobs:
62
64
cargo rustdoc -p volo-thrift --all-features -- --deny warnings
63
65
64
66
test-linux :
65
- runs-on : [self-hosted, X64 ]
67
+ runs-on : [self-hosted, Linux, amd64 ]
66
68
67
69
strategy :
68
70
matrix :
69
71
rust : [nightly, stable]
70
72
steps :
71
- - uses : actions/checkout@v3
73
+ - uses : actions/checkout@v4
72
74
- uses : dtolnay/rust-toolchain@master
73
75
with :
74
76
components : rustfmt,clippy
75
77
toolchain : ${{matrix.rust}}
76
78
- name : Run tests
77
79
run : |
80
+ bash scripts/install-linux-dependencies.sh
78
81
bash scripts/clippy-and-test.sh
79
82
80
- # test-linux-aarch64:
81
- # runs-on: [self-hosted, arm]
82
-
83
- # strategy:
84
- # matrix:
85
- # rust: [nightly, stable]
86
- # steps:
87
- # - uses: actions/checkout@v3
88
- # - uses: dtolnay/rust-toolchain@master
89
- # with:
90
- # components: rustfmt,clippy
91
- # toolchain: ${{matrix.rust}}
92
- # - name: Run tests
93
- # run: |
94
- # bash scripts/clippy-and-test.sh
83
+ test-linux-aarch64 :
84
+ runs-on : [self-hosted, Linux, aarch64]
85
+
86
+ strategy :
87
+ matrix :
88
+ rust : [nightly, stable]
89
+ steps :
90
+ - uses : actions/checkout@v4
91
+ - uses : dtolnay/rust-toolchain@master
92
+ with :
93
+ components : rustfmt,clippy
94
+ toolchain : ${{matrix.rust}}
95
+ - name : Run tests
96
+ run : |
97
+ bash scripts/install-linux-dependencies.sh
98
+ bash scripts/clippy-and-test.sh
95
99
96
100
test-macos :
97
- runs-on : macos-latest
101
+ runs-on : [self-hosted, macOS]
98
102
99
103
strategy :
100
104
matrix :
101
105
rust : [nightly, stable]
102
106
steps :
103
- - uses : actions/checkout@v3
107
+ - uses : actions/checkout@v4
104
108
- uses : dtolnay/rust-toolchain@master
105
109
with :
106
110
components : rustfmt,clippy
107
111
toolchain : ${{matrix.rust}}
108
- # - uses: Swatinem/rust-cache@v1
109
112
- name : Run tests
110
113
run : |
111
114
bash scripts/clippy-and-test.sh
112
115
113
116
test-windows :
114
- runs-on : windows-latest
117
+ runs-on : [self-hosted, Windows]
115
118
116
119
strategy :
117
120
matrix :
118
- rust : [nightly, stable]
121
+ rust : [stable]
119
122
steps :
120
- - uses : actions/checkout@v3
123
+ - uses : actions/checkout@v4
121
124
- uses : dtolnay/rust-toolchain@master
122
125
with :
123
126
components : rustfmt,clippy
124
127
toolchain : ${{matrix.rust}}
125
- # - uses: Swatinem/rust-cache@v1
126
128
- name : Run tests
127
129
run : |
128
130
bash scripts/clippy-and-test.sh
129
131
130
132
test-cli :
131
- runs-on : [self-hosted, X64 ]
133
+ runs-on : [self-hosted, Linux, amd64 ]
132
134
133
135
strategy :
134
136
matrix :
135
137
rust : [stable]
136
138
steps :
137
- - uses : actions/checkout@v3
139
+ - uses : actions/checkout@v4
138
140
- uses : dtolnay/rust-toolchain@master
139
141
with :
140
142
components : rustfmt
0 commit comments