Skip to content

Commit 983dc81

Browse files
committed
Use clap for PGO training on Windows
Using RA takes too much memory.
1 parent 789f959 commit 983dc81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
- os: windows-latest
3131
target: x86_64-pc-windows-msvc
3232
code-target: win32-x64
33-
pgo: true
33+
pgo: clap-rs/clap
3434
- os: windows-latest
3535
target: i686-pc-windows-msvc
36-
pgo: true
36+
pgo: clap-rs/clap
3737
- os: windows-latest
3838
target: aarch64-pc-windows-msvc
3939
code-target: win32-arm64
@@ -91,11 +91,11 @@ jobs:
9191
9292
- name: Dist (plain)
9393
if: ${{ !matrix.zig_target }}
94-
run: cargo xtask dist --client-patch-version ${{ github.run_number }} ${{ matrix.pgo && '--pgo' || ''}}
94+
run: cargo xtask dist --client-patch-version ${{ github.run_number }} ${{ matrix.pgo && format('--pgo {0}', matrix.pgo) || ''}}
9595

9696
- name: Dist (using zigbuild)
9797
if: ${{ matrix.zig_target }}
98-
run: RA_TARGET=${{ matrix.zig_target}} cargo xtask dist --client-patch-version ${{ github.run_number }} --zig ${{ matrix.pgo && '--pgo' || ''}}
98+
run: RA_TARGET=${{ matrix.zig_target}} cargo xtask dist --client-patch-version ${{ github.run_number }} --zig ${{ matrix.pgo && format('--pgo {0}', matrix.pgo) || ''}}
9999

100100
- run: npm ci
101101
working-directory: editors/code

0 commit comments

Comments
 (0)