Skip to content

Commit 401559a

Browse files
committed
WIP: run release workflow on PR
1 parent 63f944e commit 401559a

File tree

1 file changed

+30
-22
lines changed

1 file changed

+30
-22
lines changed

.github/workflows/release.yaml

Lines changed: 30 additions & 22 deletions
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 }}
5859
container: ${{ matrix.container }}
60+
defaults:
61+
run:
62+
shell: bash
5963

6064
env:
6165
RA_TARGET: ${{ matrix.target }}
@@ -73,6 +77,8 @@ jobs:
7377

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