@@ -44,78 +44,50 @@ jobs:
44
44
- name : Execute build.sh
45
45
run : ./ci/verify-build.sh
46
46
47
- macos :
48
- name : macOS
49
- runs-on : macos-14
47
+ test_tier1 :
48
+ name : Test tier1
50
49
strategy :
51
- fail-fast : true
52
- matrix :
53
- target :
54
- - aarch64-apple-darwin
55
- env :
56
- TARGET : ${{ matrix.target }}
57
- steps :
58
- - uses : actions/checkout@v4
59
- - name : Setup Rust toolchain
60
- run : ./ci/install-rust.sh
61
- - name : Execute run.sh
62
- run : ./ci/run.sh ${{ matrix.target }}
63
-
64
- windows :
65
- name : Windows
66
- runs-on : windows-2022
67
- strategy :
68
- fail-fast : true
69
50
matrix :
70
51
include :
52
+ - target : i686-unknown-linux-gnu
53
+ docker : true
54
+ os : ubuntu-22.04
55
+ - target : x86_64-unknown-linux-gnu
56
+ docker : true
57
+ os : ubuntu-22.04
58
+ - target : aarch64-apple-darwin
59
+ os : macos-14
71
60
- target : x86_64-pc-windows-gnu
61
+ os : windows-2022
72
62
env :
73
63
ARCH_BITS : 64
74
64
ARCH : x86_64
75
65
- target : x86_64-pc-windows-msvc
66
+ os : windows-2022
76
67
# FIXME: It currently causes segfaults.
77
68
# - target: i686-pc-windows-gnu
78
69
# env:
79
70
# ARCH_BITS: 32
80
71
# ARCH: i686
81
72
- target : i686-pc-windows-msvc
73
+ os : windows-2022
74
+ runs-on : ${{ matrix.os }}
82
75
env :
83
- OS : windows
84
76
TARGET : ${{ matrix.target }}
85
77
steps :
86
78
- uses : actions/checkout@v4
87
- - name : Self-update rustup
88
- run : rustup self update
89
- shell : bash
90
79
- name : Setup Rust toolchain
91
80
run : ./ci/install-rust.sh
92
- shell : bash
93
- - name : Execute run.sh
81
+ - name : Run natively
82
+ if : " !matrix.docker "
94
83
run : ./ci/run.sh ${{ matrix.target }}
95
- shell : bash
96
-
97
-
98
- docker_linux_tier1 :
99
- name : Docker Linux Tier1
100
- runs-on : ubuntu-22.04
101
- strategy :
102
- fail-fast : true
103
- matrix :
104
- target :
105
- - i686-unknown-linux-gnu
106
- - x86_64-unknown-linux-gnu
107
- env :
108
- TARGET : ${{ matrix.target }}
109
- steps :
110
- - uses : actions/checkout@v4
111
- - name : Setup Rust toolchain
112
- run : ./ci/install-rust.sh
113
- - name : Execute run-docker.sh
84
+ - name : Run in Docker
85
+ if : " matrix.docker"
114
86
run : ./ci/run-docker.sh ${{ matrix.target }}
115
87
116
- docker_linux_tier2 :
117
- name : Docker Linux Tier2
118
- needs : [docker_linux_tier1 , style_check]
88
+ test_tier2 :
89
+ name : Test tier2
90
+ needs : [test_tier1 , style_check]
119
91
runs-on : ubuntu-22.04
120
92
strategy :
121
93
fail-fast : true
@@ -202,10 +174,8 @@ jobs:
202
174
name : success
203
175
runs-on : ubuntu-22.04
204
176
needs :
205
- - docker_linux_tier1
206
- - docker_linux_tier2
207
- - macos
208
- - windows
177
+ - test_tier1
178
+ - test_tier2
209
179
- solaris
210
180
- style_check
211
181
- verify_build
0 commit comments