1
Commit Graph

356 Commits

Author SHA1 Message Date
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
Motiejus Jakštys
557e75efda avoid including a phony commit to relnotes 2022-04-09 00:20:55 +03:00
Motiejus Jakštys
8cc0979847 Update release notes for v0.6.1 2022-04-09 00:09:17 +03:00
laurynasl
68b152067c Fix register toolchain 2022-04-09 00:09:04 +03:00
Motiejus Jakštys
6a6af239a5 Update release notes for v0.6.0 2022-04-07 14:39:47 +03:00
Motiejus Jakštys
313f16b020 [release notes] committer name -> author name 2022-04-07 14:39:31 +03:00
Motiejus Jakštys
43cb9856ea remove note about 'next' branch
will not make it special.
2022-04-07 14:39:22 +03:00
Motiejus Jakštys
56daeaf6c0 Merge branch 'next' 2022-04-07 14:37:08 +03:00
laurynasl
64be98b830 Hide toolchain internals 2022-04-07 11:23:40 +00:00
Motiejus Jakštys
6ded50ad67 buildifier 2022-04-07 13:21:44 +03:00
Motiejus Jakštys
9015e381fd update .build.yml for correct toolchain/platform paths 2022-04-07 12:56:32 +03:00
Motiejus Jakštys
4574ea0c3a add a note about next branch 2022-04-07 12:50:45 +03:00
laurynasl
eedfc3312e Move toolchain definitions to toolchains/ 2022-04-07 12:43:34 +03:00
laurynasl
723e6f051d Move toolchainss under @zig_sdk//platform: 2022-04-07 12:43:34 +03:00
laurynasl
d1b0dddf8c Move declare_platforms() to 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
22762ccc97 buildifier 2022-03-26 16:05:25 +02:00
Ken Micklas
843d97621f Pin Go SDK to 1.18 for reproducibility 2022-03-26 15:56:11 +02:00
Ken Micklas
ccb68098e6 Use upstream read_user_netrc from Bazel 5.1 2022-03-26 15:56:11 +02:00
Ken Micklas
fc62c3a7b7 Remove repo fetch-time uname dependency, use new os.arch instead 2022-03-26 15:56:11 +02:00
Ken Micklas
f3bd9254ad Upgrade to Bazel 5.1.0 2022-03-26 15:56:11 +02:00
Motiejus Jakštys
7a0c00952e Update release notes for v0.5.0 2022-03-18 06:52:14 +01:00
Motiejus Jakštys
3492880151 bump to zig-0.10.0-dev.1393+291f5055f 2022-03-18 06:06:08 +01:00
Ken Micklas
9afcddea4f Support netrc for Zig SDK download 2022-03-18 06:04:49 +01:00
Motiejus Jakštys
2895f0c2bf replace url_format with url_formats 2022-03-18 05:44:22 +01:00
Ken Micklas
fb0cf50c44 2022-03-18 05:30:42 +01:00
Ken Micklas
fcb3d0432e Starlark's default argument semantics are pretty weird and likely not
what you would expect:
https://github.com/bazelbuild/starlark/blob/master/spec.md#functions

Additionally, this is just easier to read.
2022-03-18 05:30:38 +01:00
Motiejus Jakštys
0715e6d6ce buildifier 2022-02-24 11:06:35 +02:00
Motiejus Jakštys
874164ece1 stop hardcoding go sdk version
Turns out 1.17 is 1.17, but not 1.17.x, like I assumed previously. From
now on, the builds will be non-reproducible and will depend on whatever
the latest stable Go version is. This is better than me trying to
remember to bump Go versions when patches come out.
2022-02-24 11:03:14 +02:00
Motiejus Jakštys
e89233cab2 README nit: flip -y argument 2022-02-11 07:45:01 +02:00
Motiejus Jakštys
c4cc66961b Update release notes for v0.4.5 2022-02-11 06:31:00 +02:00
Ken Micklas
9ede1507c3 Fix and adjust darwin libc header paths depending on CPU 2022-02-11 06:29:46 +02:00
Ken Micklas
77688d0a45 Interpret arm64 output from uname as aarch64 on mac OS 2022-02-11 06:29:07 +02:00
Ken Micklas
dc138b490a Fix darwin arm64 case in .envrc for loading bazel 2022-02-11 06:28:55 +02:00
Motiejus Jakštys
8e72cf89ec [readme] update bazel-test for aarch64 2022-02-08 14:42:32 +02:00
Motiejus Jakštys
84b5fa6dc8 [readme] update obsolete section 2022-02-08 14:41:35 +02:00
Motiejus Jakštys
90ceb2f896 [readme] fix aarch64 aliases 2022-02-08 14:39:29 +02:00
Motiejus Jakštys
3d166c5671 use .bazelrc for qemu configuration 2022-02-08 14:22:21 +02:00
Motiejus Jakštys
3325986971 recommend registering toolchains via .bazelrc 2022-02-08 14:09:30 +02:00
Motiejus Jakštys
424b1ca27d [docs] how to test your own zig version 2022-02-05 17:27:38 +02:00
Motiejus Jakštys
8d110a392a fcntl64 test
Refs https://github.com/ziglang/zig/issues/9485
2022-02-05 16:28:20 +02:00
Motiejus Jakštys
0cc6ce2a5b [readme] toolchain grep and qemu-static
... so it matches what's in the CI.
2022-02-05 11:49:57 +02:00
Motiejus Jakštys
1102b261bd [readme] more examples 2022-02-05 11:16:16 +02:00
Motiejus Jakštys
74fb5e7aac upgrade rules_go 2022-02-05 11:07:58 +02:00
Motiejus Jakštys
a0a36f5c70 Update release notes for v0.4.4 2022-02-05 06:55:47 +02:00
Motiejus Jakštys
acb4fd475a restructure tests for merging 2022-02-05 06:12:41 +02:00
Motiejus Jakštys
5de2126926 install binfmt-support 2022-02-05 05:58:24 +02:00
Motiejus Jakštys
7c8682b865 run tests with qemu-aarch64 2022-02-05 05:35:39 +02:00
Motiejus Jakštys
8430789f21 .envrc: remove bashism 2022-02-04 11:16:52 +02:00
Motiejus Jakštys
5871171549 run bazel test
This simplifies the tests somewhat.
2022-02-04 10:07:34 +02:00