27 lines
997 B
YAML
27 lines
997 B
YAML
|
image: debian/stable
|
||
|
packages:
|
||
|
- direnv
|
||
|
sources:
|
||
|
- https://git.sr.ht/~motiejus/test-zigcc
|
||
|
environment:
|
||
|
CC: /usr/bin/false
|
||
|
triggers:
|
||
|
- action: email
|
||
|
condition: failure
|
||
|
to: motiejus+srht@jakstys.lt
|
||
|
tasks:
|
||
|
- setup: |
|
||
|
sudo apt-get purge gcc -y && sudo apt-get autoremove -y
|
||
|
- llvm14: |
|
||
|
cd test-zigcc; . .envrc
|
||
|
bazel clean; bazel shutdown; bazel build --extra_toolchains=@llvm_toolchain//:cc-toolchain-x86_64-linux ...
|
||
|
- zig_cc-no_sandbox: |
|
||
|
cd test-zigcc; . .envrc
|
||
|
bazel clean; bazel shutdown; bazel build --spawn_strategy=local --platforms=@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.28 ...
|
||
|
- zig_cc-devshm: |
|
||
|
cd test-zigcc; . .envrc
|
||
|
bazel clean; bazel shutdown; bazel build --sandbox_base=/dev/shm --platforms=@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.28 ...
|
||
|
- zig_cc-plain: |
|
||
|
cd test-zigcc; . .envrc
|
||
|
bazel clean; bazel shutdown; bazel build --platforms=@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.28 ...
|