9
9
branches :
10
10
- release
11
11
- trigger-nightly
12
+ pull_request :
12
13
13
14
env :
14
15
CARGO_INCREMENTAL : 0
@@ -26,36 +27,38 @@ jobs:
26
27
strategy :
27
28
matrix :
28
29
include :
29
- - os : windows-latest
30
- target : x86_64-pc-windows-msvc
31
- code-target : win32-x64
32
- - os : windows-latest
33
- target : i686-pc-windows-msvc
34
- - os : windows-latest
35
- target : aarch64-pc-windows-msvc
36
- code-target : win32-arm64
30
+ # - os: windows-latest
31
+ # target: x86_64-pc-windows-msvc
32
+ # code-target: win32-x64
33
+ # - os: windows-latest
34
+ # target: i686-pc-windows-msvc
35
+ # - os: windows-latest
36
+ # target: aarch64-pc-windows-msvc
37
+ # code-target: win32-arm64
37
38
- os : ubuntu-latest
38
39
target : x86_64-unknown-linux-gnu
39
40
container : quay.io/pypa/manylinux_2_28_x86_64
40
41
code-target : linux-x64
41
- - os : ubuntu-latest
42
- target : aarch64-unknown-linux-gnu
43
- container : quay.io/pypa/manylinux_2_28_x86_64
44
- code-target : linux-arm64
45
- - os : ubuntu-latest
46
- target : arm-unknown-linux-gnueabihf
47
- zig_target : arm-unknown-linux-gnueabihf.2.28
48
- code-target : linux-armhf
49
- - os : macos-13
50
- target : x86_64-apple-darwin
51
- code-target : darwin-x64
52
- - os : macos-13
53
- target : aarch64-apple-darwin
54
- code-target : darwin-arm64
42
+ pgo : true
43
+ # - os: ubuntu-latest
44
+ # target: aarch64-unknown-linux-gnu
45
+ # code-target: linux-arm64
46
+ # - os: ubuntu-latest
47
+ # target: arm-unknown-linux-gnueabihf
48
+ # zig_target: arm-unknown-linux-gnueabihf.2.28
49
+ # code-target: linux-armhf
50
+ # - os: macos-13
51
+ # target: x86_64-apple-darwin
52
+ # code-target: darwin-x64
53
+ # - os: macos-13
54
+ # target: aarch64-apple-darwin
55
+ # code-target: darwin-arm64
55
56
56
57
name : dist (${{ matrix.target }})
57
58
runs-on : ${{ matrix.os }}
58
59
container : ${{ matrix.container }}
60
+ volumes :
61
+ - /usr/local/cargo/registry:/usr/local/cargo/registry
59
62
60
63
env :
61
64
RA_TARGET : ${{ matrix.target }}
@@ -71,12 +74,14 @@ jobs:
71
74
with :
72
75
node-version : 22
73
76
74
- - name : Install Rust toolchain
75
- run : |
76
- rustup update --no-self-update stable
77
- # llvm-tools contain the llvm-profdata tool which is needed for PGO
78
- rustup component add rust-src ${{ matrix.pgo && 'llvm-tools' || '' }}
79
- rustup target add ${{ matrix.target }}
77
+ # - name: Install Rust toolchain
78
+ # run: |
79
+ # curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
80
+ # . "$HOME/.cargo/env"
81
+ # rustup update --no-self-update stable
82
+ # llvm-tools contain the llvm-profdata tool which is needed for PGO
83
+ # rustup component add rust-src ${{ matrix.pgo && 'llvm-tools' || '' }}
84
+ # rustup target add ${{ matrix.target }}
80
85
81
86
- name : Install Zig toolchain
82
87
if : ${{ matrix.zig_target }}
@@ -186,6 +191,8 @@ jobs:
186
191
runs-on : ubuntu-latest
187
192
needs : ["dist", "dist-x86_64-unknown-linux-musl"]
188
193
steps :
194
+ - name : Fail
195
+ run : exit 1
189
196
- name : Install Nodejs
190
197
uses : actions/setup-node@v4
191
198
with :
0 commit comments