Skip to content

Commit 79338d0

Browse files
committed
WIP: run release workflow on PR
1 parent 63f944e commit 79338d0

File tree

1 file changed

+33
-22
lines changed

1 file changed

+33
-22
lines changed

.github/workflows/release.yaml

Lines changed: 33 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,32 +27,32 @@ 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 }}
@@ -71,8 +72,16 @@ jobs:
7172
with:
7273
node-version: 22
7374

75+
- name: Install rustup
76+
if: ${{ matrix.container }}
77+
run: |
78+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
79+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
80+
7481
- name: Install Rust toolchain
7582
run: |
83+
ls -lha "$HOME/.cargo/bin"
84+
echo $PATH
7685
rustup update --no-self-update stable
7786
# llvm-tools contain the llvm-profdata tool which is needed for PGO
7887
rustup component add rust-src ${{ matrix.pgo && 'llvm-tools' || '' }}
@@ -186,6 +195,8 @@ jobs:
186195
runs-on: ubuntu-latest
187196
needs: ["dist", "dist-x86_64-unknown-linux-musl"]
188197
steps:
198+
- name: Fail
199+
run: exit 1
189200
- name: Install Nodejs
190201
uses: actions/setup-node@v4
191202
with:

0 commit comments

Comments
 (0)