1
Fork 0
hermetic_cc_toolchain/.build.yml

26 lines
690 B
YAML
Raw Normal View History

2021-06-08 06:30:06 +03:00
image: debian/testing
packages:
2021-09-07 10:50:16 +03:00
- direnv
2021-06-10 18:51:59 +03:00
- file
2021-10-18 15:15:50 +03:00
- shellcheck
2021-06-08 06:30:06 +03:00
sources:
- https://git.sr.ht/~motiejus/bazel-zig-cc
environment:
2021-06-08 06:33:06 +03:00
CC: /usr/bin/false
2021-10-18 15:15:50 +03:00
triggers:
- action: email
condition: failure
to: motiejus+srht@jakstys.lt
2021-06-08 06:30:06 +03:00
tasks:
- setup: |
2021-06-19 12:14:19 +03:00
sudo apt-get purge gcc -y && sudo apt-get autoremove -y
2021-10-18 15:18:29 +03:00
- lint: |
cd bazel-zig-cc;
2021-10-18 15:15:02 +03:00
shellcheck -x $(awk '/#!\/bin\/(ba)?sh/&&FNR==1{print FILENAME}' $(git ls-files))
- test_list_toolchains: |
cd bazel-zig-cc; . .envrc; echo "Available toolchains:"
bazel query @zig_sdk//... | sed -En '/.*_toolchain$/ s/.*:(.*)_toolchain$/\1/p'
2021-10-18 15:12:31 +03:00
- test_hello_on_toolchains: |
cd bazel-zig-cc
./ci/test