Skip to content

Commit 292ff49

Browse files
committed
WIP: run release workflow on PR
1 parent 63f944e commit 292ff49

File tree

1 file changed

+37
-29
lines changed

1 file changed

+37
-29
lines changed

.github/workflows/release.yaml

+37-29
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
branches:
1010
- release
1111
- trigger-nightly
12+
pull_request:
1213

1314
env:
1415
CARGO_INCREMENTAL: 0
@@ -26,36 +27,39 @@ jobs:
2627
strategy:
2728
matrix:
2829
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
3738
- os: ubuntu-latest
3839
target: x86_64-unknown-linux-gnu
3940
container: quay.io/pypa/manylinux_2_28_x86_64
4041
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
5556

5657
name: dist (${{ matrix.target }})
5758
runs-on: ${{ matrix.os }}
58-
container: ${{ matrix.container }}
59+
container:
60+
image: ${{ matrix.container }}
61+
volumes:
62+
- /usr/local/cargo/registry:/usr/local/cargo/registry
5963

6064
env:
6165
RA_TARGET: ${{ matrix.target }}
@@ -71,12 +75,14 @@ jobs:
7175
with:
7276
node-version: 22
7377

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 }}
78+
# - name: Install Rust toolchain
79+
# run: |
80+
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
81+
# . "$HOME/.cargo/env"
82+
# rustup update --no-self-update stable
83+
# llvm-tools contain the llvm-profdata tool which is needed for PGO
84+
# rustup component add rust-src ${{ matrix.pgo && 'llvm-tools' || '' }}
85+
# rustup target add ${{ matrix.target }}
8086

8187
- name: Install Zig toolchain
8288
if: ${{ matrix.zig_target }}
@@ -186,6 +192,8 @@ jobs:
186192
runs-on: ubuntu-latest
187193
needs: ["dist", "dist-x86_64-unknown-linux-musl"]
188194
steps:
195+
- name: Fail
196+
run: exit 1
189197
- name: Install Nodejs
190198
uses: actions/setup-node@v4
191199
with:

0 commit comments

Comments
 (0)