mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-25 04:02:28 +03:00
CI: Remove extraneous toolchain job from Azure CI
This was useful when building both i686 and x86_64 SerenityOS targets as we could use a single toolchain build for both targets. But now all this extra job does is create the opportunity for the toolchain to need to be built twice (i.e. if the pipelines are backed up and the toolchain cache is busted between these jobs while the x86_64 step is waiting for a VM).
This commit is contained in:
parent
598fcfca26
commit
0a7d0362ea
Notes:
sideshowbarker
2024-07-17 02:29:46 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/0a7d0362ea Pull-request: https://github.com/SerenityOS/serenity/pull/16696 Reviewed-by: https://github.com/awesomekling ✅
@ -33,7 +33,7 @@ jobs:
|
||||
serenity_ccache_path: '$(SERENITY_CCACHE_DIR)'
|
||||
|
||||
- script: ./Toolchain/BuildClang.sh --ci
|
||||
displayName: Extract Toolchain
|
||||
displayName: Build Toolchain
|
||||
env:
|
||||
TRY_USE_LOCAL_TOOLCHAIN: 'y'
|
||||
|
||||
|
@ -1,34 +0,0 @@
|
||||
jobs:
|
||||
- job: 'Serenity_Clang_Toolchain'
|
||||
timeoutInMinutes: 0 # Setting to 0 means the maximum allowed timeout is used.
|
||||
|
||||
variables:
|
||||
- name: LLVM_CCACHE_DIR
|
||||
value: $(Build.SourcesDirectory)/Toolchain/.ccache
|
||||
- name: LLVM_CCACHE_MAXSIZE
|
||||
value: 20GB
|
||||
|
||||
pool:
|
||||
vmImage: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- template: Setup.yml
|
||||
parameters:
|
||||
os: 'Serenity'
|
||||
|
||||
- template: Caches.yml
|
||||
parameters:
|
||||
toolchain: 'clang'
|
||||
toolchain_ccache_path: '$(LLVM_CCACHE_DIR)'
|
||||
toolchain_ccache_size: '$(LLVM_CCACHE_MAXSIZE)'
|
||||
with_remote_data_caches: false
|
||||
|
||||
- script: ./Toolchain/BuildClang.sh --ci
|
||||
displayName: Build Toolchain
|
||||
env:
|
||||
TRY_USE_LOCAL_TOOLCHAIN: 'y'
|
||||
|
||||
- script: |
|
||||
echo "##[section]Toolchain Cache"
|
||||
CCACHE_DIR='$(LLVM_CCACHE_DIR)' ccache -s
|
||||
displayName: 'Cache Stats'
|
@ -23,14 +23,8 @@ stages:
|
||||
parameters:
|
||||
os: 'macOS'
|
||||
|
||||
- stage: Toolchain
|
||||
dependsOn: []
|
||||
|
||||
jobs:
|
||||
- template: Meta/Azure/Toolchain.yml
|
||||
|
||||
- stage: SerenityOS
|
||||
dependsOn: Toolchain
|
||||
dependsOn: []
|
||||
|
||||
jobs:
|
||||
- template: Meta/Azure/Serenity.yml
|
||||
|
Loading…
Reference in New Issue
Block a user