This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +61
-57
lines changed Expand file tree Collapse file tree 2 files changed +61
-57
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ - push
5
+
6
+ jobs :
7
+ abi_cafe :
8
+ runs-on : ${{ matrix.os }}
9
+ timeout-minutes : 60
10
+
11
+ defaults :
12
+ run :
13
+ shell : bash
14
+
15
+ strategy :
16
+ fail-fast : true
17
+ matrix :
18
+ include :
19
+ - os : ubuntu-latest
20
+ env :
21
+ TARGET_TRIPLE : x86_64-unknown-linux-gnu
22
+ - os : macos-latest
23
+ env :
24
+ TARGET_TRIPLE : x86_64-apple-darwin
25
+ - os : windows-latest
26
+ env :
27
+ TARGET_TRIPLE : x86_64-pc-windows-msvc
28
+ - os : windows-latest
29
+ env :
30
+ TARGET_TRIPLE : x86_64-pc-windows-gnu
31
+
32
+ steps :
33
+ - uses : actions/checkout@v3
34
+
35
+ - name : Cache cargo target dir
36
+ uses : actions/cache@v3
37
+ with :
38
+ path : build/cg_clif
39
+ key : ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
40
+
41
+ - name : Set MinGW as the default toolchain
42
+ if : matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
43
+ run : rustup set default-host x86_64-pc-windows-gnu
44
+
45
+ - name : Use sparse cargo registry
46
+ run : |
47
+ cat >> ~/.cargo/config.toml <<EOF
48
+ [unstable]
49
+ sparse-registry = true
50
+ EOF
51
+
52
+ - name : Prepare dependencies
53
+ run : ./y.rs prepare
54
+
55
+ - name : Build
56
+ run : ./y.rs build --sysroot none
57
+
58
+ - name : Test abi-cafe
59
+ env :
60
+ TARGET_TRIPLE : ${{ matrix.env.TARGET_TRIPLE }}
61
+ run : ./y.rs abi-cafe
Original file line number Diff line number Diff line change @@ -114,63 +114,6 @@ jobs:
114
114
run : ./y.rs test
115
115
116
116
117
- abi_cafe :
118
- runs-on : ${{ matrix.os }}
119
- timeout-minutes : 60
120
-
121
- defaults :
122
- run :
123
- shell : bash
124
-
125
- strategy :
126
- fail-fast : true
127
- matrix :
128
- include :
129
- - os : ubuntu-latest
130
- env :
131
- TARGET_TRIPLE : x86_64-unknown-linux-gnu
132
- - os : macos-latest
133
- env :
134
- TARGET_TRIPLE : x86_64-apple-darwin
135
- - os : windows-latest
136
- env :
137
- TARGET_TRIPLE : x86_64-pc-windows-msvc
138
- - os : windows-latest
139
- env :
140
- TARGET_TRIPLE : x86_64-pc-windows-gnu
141
-
142
- steps :
143
- - uses : actions/checkout@v3
144
-
145
- - name : Cache cargo target dir
146
- uses : actions/cache@v3
147
- with :
148
- path : build/cg_clif
149
- key : ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
150
-
151
- - name : Set MinGW as the default toolchain
152
- if : matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
153
- run : rustup set default-host x86_64-pc-windows-gnu
154
-
155
- - name : Use sparse cargo registry
156
- run : |
157
- cat >> ~/.cargo/config.toml <<EOF
158
- [unstable]
159
- sparse-registry = true
160
- EOF
161
-
162
- - name : Prepare dependencies
163
- run : ./y.rs prepare
164
-
165
- - name : Build
166
- run : ./y.rs build --sysroot none
167
-
168
- - name : Test abi-cafe
169
- env :
170
- TARGET_TRIPLE : ${{ matrix.env.TARGET_TRIPLE }}
171
- run : ./y.rs abi-cafe
172
-
173
-
174
117
bench :
175
118
runs-on : ubuntu-latest
176
119
timeout-minutes : 60
You can’t perform that action at this time.
0 commit comments