mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
CI: add build-args
(#36947)
Add `build-args` input in CI and try_parser job definition so we can pass own build args to `./mach build` Testing: There are tests for try parser and I tested CI in my fork. Fixes: partial fix #36823 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
5c9afe4274
commit
c0339dd360
8 changed files with 53 additions and 12 deletions
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
|
@ -7,6 +7,10 @@ on:
|
|||
required: false
|
||||
default: "release"
|
||||
type: string
|
||||
build-args:
|
||||
default: ""
|
||||
required: false
|
||||
type: string
|
||||
unit-tests:
|
||||
required: false
|
||||
default: false
|
||||
|
@ -161,7 +165,7 @@ jobs:
|
|||
|
||||
- name: Build (${{ inputs.profile }})
|
||||
run: |
|
||||
.\mach build --use-crown --locked --${{ inputs.profile }}
|
||||
.\mach build --use-crown --locked --${{ inputs.profile }} ${{ inputs.build-args }}
|
||||
cp C:\a\servo\servo\target\cargo-timings C:\a\servo\servo\target\cargo-timings-windows -Recurse
|
||||
- name: Copy resources
|
||||
if: ${{ runner.environment != 'self-hosted' }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue