Commit Graph

650 Commits

Author SHA1 Message Date
Alex Rønne Petersen
8bfc36f091
ci: Update to QEMU 9.1.0 in x86_64-linux scripts. 2024-10-18 00:55:20 +02:00
Alex Rønne Petersen
b113415871
ci: Remove -fwasmtime from aarch64-linux scripts.
This is covered by the x86_64-linux scripts. Also remove the TODO comments
related to -fqemu for the same reason.
2024-10-18 00:55:18 +02:00
Krzysztof Wolicki
008acd0547
Replace tidy with superhtml as HTML validator (#21664)
Also add `$HOME/local/bin` to `PATH` in linux CI
2024-10-11 21:27:30 -07:00
Jacob Young
65f6623ba4 lldb: print field names with a leading dot
This more closely resembles zig struct literals.
2024-10-09 07:48:07 -04:00
Andrew Kelley
38af1b7ed1 CI: update tarballs to 0.14.0-dev.1622+2ac543388 2024-09-19 18:20:22 -07:00
Andrew Kelley
6c15d69660 Revert "ci: Build with ZIG2_NO_RTLIB on Windows machines."
This reverts commit 7e66b6d0684fb1b3aa76381486e655e4d13bc0a5.

I don't think this is needed, I don't get any errors locally when I
bootstrap windows without this change.
2024-09-19 18:20:22 -07:00
Andrew Kelley
0d7a9c4806 CI: update tarballs
This time the LLVM builds have assertions enabled.

Also the zig builds support `-rtlib=none` for disabling compiler-rt.
2024-09-19 18:20:21 -07:00
Alex Rønne Petersen
335ed630a0 ci: Build with ZIG2_NO_RTLIB on Windows machines.
Windows does not really have weak symbols. So when we bootstrap with `zig cc`
and link both Zig's compiler-rt and the CBE's `compiler_rt.c` we end up with
duplicate symbol errors at link time.
2024-09-19 18:20:21 -07:00
Andrew Kelley
c234655e35 CI: update tarballs to LLVM 19.1.0rc4
oops, I forgot to enable LLVM assertions though
2024-09-19 18:20:21 -07:00
Jacob Young
f34b198251 Dwarf: implement and test decls 2024-09-10 12:27:56 -04:00
Jacob Young
4cc16fd6f7 Dwarf: fix and test inline function bugs 2024-08-28 04:25:08 -04:00
Jacob Young
8c3f6c72c0 Dwarf: fix and test string format 2024-08-27 02:09:59 -04:00
Jacob Young
4a132d4bce Type: fix inconsistency between zig fmt and @typeName 2024-08-22 20:08:04 -04:00
Jacob Young
49e6041391 Dwarf: fix and test unions 2024-08-18 16:21:10 -04:00
Alex Rønne Petersen
1045537141 Revert "ci: Enable -Dtest-slow-targets."
This reverts commit 55cc9dda66.
2024-08-18 12:35:57 -04:00
Jacob Young
ef11bc9899 Dwarf: rework self-hosted debug info from scratch
This is in preparation for incremental and actually being able to debug
executables built by the x86_64 backend.
2024-08-16 15:22:55 -04:00
Alex Rønne Petersen
55cc9dda66
ci: Enable -Dtest-slow-targets. 2024-08-14 07:03:23 +02:00
Alex Rønne Petersen
76ebae2ee0
ci: Add stage3/4 diff to aarch64-linux-release script. 2024-08-02 09:56:54 +02:00
Alex Rønne Petersen
6def9cee00
ci: Add stage3/4 diff to (aarch64,x86_64)-windows-release scripts. 2024-08-02 09:56:37 +02:00
Andrew Kelley
80269c1f53 remove deprecated --mod CLI now that a zig1.wasm update happened 2024-07-26 05:07:18 -07:00
Andrew Kelley
89e4c38fe3 CI: update tarballs to one that has LLVM assertions enabled 2024-07-19 15:43:35 -07:00
Jacob Young
8ab70f80cb ci: update aarch64-macos for a persistent work dir 2024-07-17 21:52:28 -04:00
Andrew Kelley
651225c2d4 add -Denable-tidy flag and use it in the CI
Eliminates a TODO from the CI scripts; makes it easier to check validity
of html when working on the langref locally.
2024-06-17 00:10:35 -07:00
Andrew Kelley
cb1d1bdf59 make zig build test check for conforming formatting
There was already `zig build test-fmt` but now `zig build test` depends
on that one.

The CI scripts no longer need explicit logic since they already do
`zig build test`.
2024-06-16 19:31:59 -07:00
Andrew Kelley
74f52954b9 update tarballs to 0.13.0-dev.130+98a30acad 2024-05-08 23:17:08 -07:00
Andrew Kelley
cd1ddca698 CI: update x86_64-macos tarball
This one contains a patch to fix an LLVM 18 regression that has been
merged upstream already.
2024-05-08 19:37:30 -07:00
Andrew Kelley
107d4f6683 disable x86_64-macos -OReleaseSmall tests
tracked by #19851
2024-05-08 19:37:30 -07:00
Andrew Kelley
6c403e8aca CI: revert the changes to aarch64-windows script 2024-05-08 19:37:29 -07:00
Andrew Kelley
c71943f125 CI: fix windows paths for fetching tarball 2024-05-08 19:37:29 -07:00
Andrew Kelley
bffc4ebd78 CI: fix tarball prefix path to be shared across all users 2024-05-08 19:37:29 -07:00
Andrew Kelley
b018f2bae1 CI: download tarball if not already present on macos runners 2024-05-08 19:37:29 -07:00
Andrew Kelley
e07ad33f1d update CI tarballs for LLVM 18
Also makes the windows CI scripts fetch the tarballs from the network if
not already on disk.
2024-05-08 19:37:29 -07:00
Andrew Kelley
1b90888f57 migrate langref documentation generation to the build system 2024-04-25 00:09:24 -07:00
Jacob Young
71ccdb5a66 ci: add self-hosted x86_64 windows 2024-04-14 21:26:09 -04:00
Jakub Konka
f8989a9c69 ci: bump QEMU to 8.2.1 on x86_64-linux machines 2024-02-23 10:30:34 +01:00
Jacob Young
2291560424 c_import: extract behavior tests that use @cImport
This introduces the new test step `test-c-import`, and removes the
ability of the behavior tests to `@cImport` paths relative to `test`.
This allows the behavior tests to be run without translate c.
2024-02-20 18:44:43 +01:00
Andrew Kelley
d40b71a39f CI: update wasmtime to v10.0.2
The newest release changes the CLI; let's wait until that breaking
change finds its way into system package managers before updating to it.
2024-02-11 13:38:56 -07:00
Jakub Konka
83bbc39c15 ci: enable testing of non-llvm bootstrapping on x86_64-macos 2024-02-09 13:17:35 +01:00
Jakub Konka
7b4561170a ci: re-enable reproducibility for x86_64-macos 2024-01-29 13:16:58 +01:00
Andrew Kelley
e92cc155fd CI: update aarch64-windows tarball
Contains the mingw upgrade to use ucrt.
2024-01-08 12:05:37 -07:00
Andrew Kelley
046f7550df CI: update windows tarballs for mingw upgrade
The tarballs have to be rebuilt because now we want to use the ucrt.
2024-01-08 11:52:38 -07:00
Jacob Young
98b633ff17 Reapply "Merge pull request #17824 from kcbanner/fixup_msvc_fmax"
This reverts commit 2b58978360.
2024-01-03 02:41:21 -05:00
Andrew Kelley
7cec11a66b CI: update windows scripts to new CLI module syntax 2024-01-01 19:49:08 -07:00
Andrew Kelley
2b58978360 Revert "Merge pull request #17824 from kcbanner/fixup_msvc_fmax"
This reverts commit 7161ed79c4, reversing
changes made to 3f2a65594e.

Unfortunately, this sat in the PR queue too long and the merge broke the
zig1.wasm bootstrap process.
2024-01-01 17:49:57 -07:00
Andrew Kelley
7161ed79c4
Merge pull request #17824 from kcbanner/fixup_msvc_fmax
cbe: add a system for avoiding collisions with C compiler intrinsics
2024-01-01 15:36:16 -08:00
Andrew Kelley
f545fc28b3 build: pass --abbrev to git rather than relying on global config
For computing the zig version number, pass --abbrev=9 rather than
requiring the user to set their git configuration in order to make zig
versions match the standard.
2023-12-19 00:54:48 -08:00
Andrew Kelley
f8b38a174f adjust building from source without LLVM process
The idea here is that the zig2 executable is perhaps the more useful
deliverable until we implement our own optimization passes. This will
allow system packages to provide Zig, and use it to compile Zig
projects, all without LLVM!
2023-11-14 02:17:51 -05:00
Andrew Kelley
f45aac4903 CI: test building from source without LLVM 2023-11-12 17:30:24 -07:00
kcbanner
58789cb054 Revert "CI: disable MSVC C backend checks"
This reverts commit 7c5d01b95e.
2023-11-05 20:34:13 -05:00
Andrew Kelley
7c5d01b95e CI: disable MSVC C backend checks
Tracking issue: #17817
2023-11-01 11:42:47 -07:00