mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +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/linux.yml
vendored
6
.github/workflows/linux.yml
vendored
|
@ -6,6 +6,10 @@ on:
|
|||
required: false
|
||||
default: "release"
|
||||
type: string
|
||||
build-args:
|
||||
default: ""
|
||||
required: false
|
||||
type: string
|
||||
wpt-args:
|
||||
default: ""
|
||||
required: false
|
||||
|
@ -166,7 +170,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 -r target/cargo-timings target/cargo-timings-linux
|
||||
- name: Smoketest
|
||||
run: xvfb-run ./mach smoketest --${{ inputs.profile }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue