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