mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 03:26:10 +00:00
CI: Only run clang plugins workflow on pushes to master
Enabling the plugins makes the job take ~1h even for small changes.
This commit is contained in:
parent
2daaa22a15
commit
89a4fa4d24
Notes:
github-actions[bot]
2024-07-26 19:41:43 +00:00
Author: https://github.com/ADKaster
Commit: 89a4fa4d24
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/849
1 changed files with 5 additions and 1 deletions
4
.github/workflows/lagom-template.yml
vendored
4
.github/workflows/lagom-template.yml
vendored
|
@ -67,7 +67,11 @@ jobs:
|
||||||
if ${{ inputs.toolchain == 'Clang' }} ; then
|
if ${{ inputs.toolchain == 'Clang' }} ; then
|
||||||
echo "host_cc=clang-18" >> "$GITHUB_OUTPUT"
|
echo "host_cc=clang-18" >> "$GITHUB_OUTPUT"
|
||||||
echo "host_cxx=clang++-18" >> "$GITHUB_OUTPUT"
|
echo "host_cxx=clang++-18" >> "$GITHUB_OUTPUT"
|
||||||
|
if ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} ; then
|
||||||
echo "extra_cmake_options=-DENABLE_CLANG_PLUGINS=ON" >> "$GITHUB_OUTPUT"
|
echo "extra_cmake_options=-DENABLE_CLANG_PLUGINS=ON" >> "$GITHUB_OUTPUT"
|
||||||
|
else
|
||||||
|
echo "extra_cmake_options=" >> "$GITHUB_OUTPUT"
|
||||||
|
fi
|
||||||
elif ${{ inputs.toolchain == 'GNU' }} ; then
|
elif ${{ inputs.toolchain == 'GNU' }} ; then
|
||||||
echo "host_cc=gcc-13" >> "$GITHUB_OUTPUT"
|
echo "host_cc=gcc-13" >> "$GITHUB_OUTPUT"
|
||||||
echo "host_cxx=g++-13" >> "$GITHUB_OUTPUT"
|
echo "host_cxx=g++-13" >> "$GITHUB_OUTPUT"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue