mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
2f1029e7c4
This commit upgrades Github Actions workers to ubuntu-22.04 As part of that change, we (currently) no longer need the backports nor toolchain-r/test PPAs, because ubuntu-22.04 include recent-enough version of QEMU and gcc
34 lines
884 B
YAML
34 lines
884 B
YAML
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'
|