Luis Holanda
8b5c41e409
misc: use /usr/bin/env in scripts
...
This patch continues the work to support NixOS and others non-FHS
distributions by replacing instances of `/bin/bash` with
`/usr/bin/env bash`, which works correctly in more systems than the
former.
Signed-off-by: Luis Holanda <luiscmholanda@gmail.com>
2022-07-28 12:44:57 -07:00
db2f187aa9
ci/test: switch to proper fastbuild
...
turns out this was overwritten in .bazelrc from a long time ago.
2022-06-28 13:34:02 +03:00
fe1949388f
[ci/test] set -c fastbuild
...
Seems like it's not the default, unlike the docs say. Will investigate
on why is that later.
2022-06-28 12:48:31 +03:00
Motiejus Jakštys
3ac217e2cc
windows tests: move tests, get rid of wine-binfmt
...
This removes all other Bazel test commands, so all tests can be again
tested with `bazel test ...`.
Also, fixes linux-arm64 glibc tests. Until now they've worked only in
CI. Now they work everywhere I tried.
2022-06-06 10:33:46 +03:00
Fabian Hahn
6f2ae838cd
added Windows target testing
2022-06-02 05:27:22 +03:00
Motiejus Jakštys
d4f40a19fb
fix ci/release
...
by adding a stub commit there
2022-04-20 14:45:48 +03:00
Motiejus Jakštys
c2c6edd11c
Merge branch 'laurynasl_libc'
2022-04-20 12:24:05 +03:00
Motiejus Jakštys
d2af022174
shellcheck
2022-04-18 12:55:53 +03:00
Motiejus Jakštys
486a26a196
[release] add to CI
2022-04-18 12:37:12 +03:00
Motiejus Jakštys
a53170cf82
ci/list* and ci/test: simple style improvements
2022-04-18 11:58:43 +03:00
laurynasl
4d65b80903
Add libc constraint and libc aware toolchains
...
- Also get rid of @bazel_skylib dependency
2022-04-14 14:29:06 +00:00
laurynasl
7a81e2a129
Restructure tests to all run in bazel
...
- add rules to run tests for a specific platform
- use downloaded buildifier
- move lint to a script
- rename ci tasks
- stop running under qemu-aarch64-static as it doesn't do anything
2022-04-14 10:47:02 +00:00
laurynasl
723e6f051d
Move toolchainss under @zig_sdk//platform:
2022-04-07 12:43:34 +03:00
laurynasl
dd76e0b76f
move platforms under @zig_cc//platform:
2022-04-07 12:43:34 +03:00
Motiejus Jakštys
3d166c5671
use .bazelrc for qemu configuration
2022-02-08 14:22:21 +02:00
Motiejus Jakštys
acb4fd475a
restructure tests for merging
2022-02-05 06:12:41 +02:00
Motiejus Jakštys
7c8682b865
run tests with qemu-aarch64
2022-02-05 05:35:39 +02:00
Motiejus Jakštys
5871171549
run bazel test
...
This simplifies the tests somewhat.
2022-02-04 10:07:34 +02:00
Motiejus Jakštys
78a77ebbe5
preparing for aarch64 tests
2022-02-03 18:01:32 +02:00
Motiejus Jakštys
ebbf499208
move golang tests to its own directory
...
this prepares for more test binaries.
2022-02-03 15:24:26 +02:00
Motiejus Jakštys
5631c7e2b6
build everything under //test/... and remove duplicate test binaries
2022-02-03 14:58:42 +02:00
Motiejus Jakštys
bcd9731f92
add @zig_sdk//:<os>_<arch>_platform values
2022-02-03 14:24:26 +02:00
Motiejus Jakštys
871fd63e6e
disable darwin/arm64 test
2021-12-13 03:33:24 +02:00
Motiejus Jakštys
47d91cbbed
[shellcheck] ci/test
2021-10-21 11:39:46 +03:00
Motiejus Jakštys
5090715b97
[ci/test] simplify _build_and_file
2021-10-21 11:38:24 +03:00
Motiejus Jakštys
f6016ab830
upgrade zig to 0.9.0-dev.1414+cde3dd365
2021-10-20 07:54:01 +03:00
Motiejus Jakštys
d9dbca2c63
shellcheck
2021-10-18 15:15:02 +03:00
Motiejus Jakštys
4bbae178ca
add release and build scripts
2021-10-18 15:12:31 +03:00