add .build.yml
so this is visible in CI
This commit is contained in:
parent
2b348f814b
commit
5fb49d3a3e
26
.build.yml
Normal file
26
.build.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
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 ...
|
Loading…
Reference in New Issue
Block a user