1
Fork 0

build: add warmup step

main
Motiejus Jakštys 2022-11-21 07:06:49 +02:00
parent 9015cd7dc4
commit 1bfa7fc3bc
1 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,11 @@ triggers:
tasks: tasks:
- setup: | - setup: |
sudo apt-get purge gcc -y && sudo apt-get autoremove -y sudo apt-get purge gcc -y && sudo apt-get autoremove -y
- llvm14: | - warmup:
cd test-zigcc; . .envrc
bazel --batch build --extra_toolchains=@llvm_toolchain//:cc-toolchain-x86_64-linux //:zigzag-0
bazel --batch build --platforms=@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.28 //:zigzag-0
- llvm14-baseline: |
cd test-zigcc; . .envrc cd test-zigcc; . .envrc
bazel clean; bazel --batch build --extra_toolchains=@llvm_toolchain//:cc-toolchain-x86_64-linux ... bazel clean; bazel --batch build --extra_toolchains=@llvm_toolchain//:cc-toolchain-x86_64-linux ...
- zig_cc-no_sandbox: | - zig_cc-no_sandbox: |