Jakub Konka
b64e4c5bf2
fix aarch64-macos CI build script
2022-08-30 14:29:06 +02:00
Andrew Kelley
527055a821
CI: use absolute path for zig lib dir
...
Workaround for #12685
2022-08-30 00:33:21 -07:00
Andrew Kelley
75d5a4b9a2
CI: pass explicit zig lib dir in lots of places
...
see #12684 for motivation
2022-08-29 23:37:31 -07:00
Andrew Kelley
532cfb65e0
CI: rework to account for new cmake behavior
...
* CMakeLists: pass `-Dstrip` for release zig builds
* pass -target and -mcpu to zig1. works around llvm on freebsd
incorrectly detecting "freestanding" instead of "freebsd" for the
native OS.
* ci.ziglang.org is now responsible for creating aarch64-macos tarballs
rather than Azure.
2022-08-28 17:07:21 -07:00
Andrew Kelley
56129d26eb
cmake: build stage3 by default
...
This is a simplification of the cmake build script which introduces a
new "stage3" target that is built by default, which builds and installs
a stage3 zig.
It greatly simplifies the build instructions for Zig, making it conform
to the regular cmake routine, while still producing a stage3 artifact.
2022-08-28 17:07:21 -07:00
Loris Cro
0f27836c21
ci: fix wrong path when deploying stdlib docs
2022-08-28 01:20:38 +02:00
Andrew Kelley
9d231c4991
CI: drone: reduce duration of the bottleneck
...
Empirically, the ReleaseSmall std lib tsets take about 55 minutes on the
CI, and is the bottleneck causing timeouts. So this commit disables full
coverage in favor of running a smaller set of ReleaseSmall std lib tests.
2022-08-25 15:23:01 -07:00
Andrew Kelley
f4980a4800
CI: windows: update tarball
...
needed because of some changes to std.dwarf
2022-08-24 16:18:42 -07:00
Andrew Kelley
2a96209c40
Merge pull request #12574 from Vexu/remove-bit-op-type-param
...
stage2+stage1: remove type parameter from bit builtins
2022-08-24 15:57:44 -04:00
Andrew Kelley
40c9b13608
CI: x86_64-linux: update tarball
...
I thought this would be needed for dwarf 4 but I think it's not actually
needed. Anyway the tarball is fresher, might as well use it.
2022-08-24 12:57:31 -07:00
Loris Cro
583175dc1d
ci: upload rendered source listings in stdlib docs
2022-08-23 15:59:35 +02:00
Andrew Kelley
7b14d614d9
CI: update windows tarball
2022-08-22 15:55:38 -07:00
Andrew Kelley
b75eeae595
CI: x86_64-linux: avoid cmake ZIG_EXECUTABLE hack
...
empirically this avoids a segfault on the CI.
2022-08-19 17:24:23 -07:00
Andrew Kelley
e78e9f33c0
CI: update x86_64-linux tarball
2022-08-19 16:45:16 -07:00
Andrew Kelley
3ce8060818
CI: update windows tarball
2022-08-19 16:45:16 -07:00
Andrew Kelley
35f62bc7ae
CI: windows: don't create build directory
...
Simplify the script by not creating an unnecessary build directory and
then changing directories to and from it.
2022-08-19 16:45:16 -07:00
Andrew Kelley
c4466496ff
build: hook up -Dskip-stage2-tests and remove test-toolchain
2022-08-19 16:45:16 -07:00
Andrew Kelley
5be2e8f941
CI: update windows tarball
...
This includes a few recent bug fixes which may solve the Windows CI
failure.
2022-08-19 16:45:16 -07:00
Andrew Kelley
28e95b3240
CI: drone: simplify
...
Instead of a switch in a bash file we just properly name
the pipeline steps.
Also use zig build to produce the release artifact.
2022-08-19 16:45:15 -07:00
Andrew Kelley
5b486b1851
CI: use zig build to produce release artifact
...
For both macOS and FreeBSD.
2022-08-19 16:45:15 -07:00
Andrew Kelley
a8f86291d2
CI: update freebsd tarball
...
This updates to a stage3 freebsd tarball.
2022-08-19 16:45:15 -07:00
Andrew Kelley
7cf6930e24
CI: macos: set release mode for zig and simplify
2022-08-19 16:45:15 -07:00
Andrew Kelley
9f43ebd6ef
CI: windows: build stage3 directly from dev kit
2022-08-19 16:45:15 -07:00
Andrew Kelley
d75d40dfdf
build: make docs a separate step than test
2022-08-19 16:45:15 -07:00
Andrew Kelley
7346600517
CI: avoid concurrent jobs tripping over each other
2022-08-19 16:45:15 -07:00
Andrew Kelley
e3ccea70dd
CI: isolate zig-cache for parallel debug/release builds
2022-08-19 16:45:15 -07:00
Andrew Kelley
a73b3a0d70
CI: simplify x86 linux test instructions
2022-08-19 16:45:15 -07:00
Andrew Kelley
06c42a0c68
CI: test both stage3-debug and stage3-release on x86-linux
2022-08-19 16:45:15 -07:00
Andrew Kelley
507aae4a1a
make self-hosted the default compiler
...
stage1 is available behind the -fstage1 flag.
closes #89
2022-08-19 16:45:15 -07:00
Andrew Kelley
73bbd1069a
build: remove the option to omit stage2
2022-08-19 16:45:15 -07:00
Jakub Konka
b6ce0cce69
windows-ci: pass -Domit-stage2 to test-toolchain
2022-08-17 23:13:58 +02:00
Loris Cro
95573dbeeb
ci: add gzip compression to stdlib docs & langref
2022-08-15 20:44:30 +02:00
Andrew Kelley
64307c2821
CI: update windows tarball
2022-08-11 12:48:11 -07:00
Hadrien Dorio
bcc6cdc4fb
ci: azure: stop when exe exits with an error
2022-08-11 12:48:11 -07:00
Loris Cro
94662591d6
ci: upload langref and stdlib docs directly to s3
...
previously we were delegating that job to the website CI but it caused
the website repo to bloat, so now we only commit releases.json
2022-08-06 18:12:21 +02:00
Andrew Kelley
932d1f785e
CI: -Denable-llvm for test-cases
...
This requires using -Dstatic-llvm and setting the search prefix and the
target, just like it is required for building stage2 and stage3. This
prevents Zig from trying to integrate with the system, which would
trigger an error due to the `cc` command not being installed.
closes #12144
2022-07-29 11:03:12 -07:00
Andrew Kelley
3ccb6a0cd4
CI: run test-run-translated-c tests with stage3
2022-07-27 17:56:59 -07:00
Andrew Kelley
ffac6a1b9f
CI: run test-link with stage3
2022-07-26 20:23:33 -07:00
Andrew Kelley
3de9ffa84d
CI: run test-cases with stage3
...
See #12144 for why I did not `-Denable-llvm` yet.
2022-07-26 20:15:57 -07:00
Andrew Kelley
0d120fcb89
Merge pull request #12225 from ziglang/ci-stage3-standalone
...
CI stage3 test coverage for test-standalone and test-cli
2022-07-25 00:46:56 -07:00
Andrew Kelley
93ae386f56
stage2: don't skip liveness or codegen if -femit-asm is supplied
...
Fixes Godbolt's CLI usage of Zig.
2022-07-24 15:02:05 -07:00
Andrew Kelley
be294e3744
CI stage3 test coverage for test-standalone
2022-07-24 15:02:05 -07:00
Luuk de Gram
34b786fb0f
enable link-test on linux CI
2022-07-23 10:08:51 +02:00
Andrew Kelley
7502e490cb
Merge pull request #12173 from ziglang/autodocs-rebased
...
New Autodocs!
2022-07-22 20:56:59 -07:00
Andrew Kelley
5cd1ccf4b9
CI: stage3 coverage for test-translate-c
2022-07-21 22:52:08 -07:00
zc
460211431f
complete the drone pipeline runner type and platform os
2022-07-21 11:17:35 -07:00
Andrew Kelley
e054877466
CI: stage3 covers test-universal-libc and builds stage1
2022-07-20 23:28:30 -07:00
Andrew Kelley
1ec50613bf
CI: increase stage3 test coverage
...
* Use a debug build of stage3 instead of a debug build of stage2 for
our self-hosted compiler test coverage.
* Move coverage from stage1 to stage3 for:
- building self-hosted without LLVM
- building self-hosted for 32-bit arm
- test-compiler-rt
- test-behavior
- test-std
- test-compare-output
- test-asm-link
- test-fmt
2022-07-20 12:27:03 -07:00
Andrew Kelley
08f3c7960a
build.zig: remove deleted .cpp file
2022-07-20 11:10:46 -07:00
Jakub Konka
e3c8ba2dc5
ci: bump macOS image on Github Actions to macos-11
...
The currently used image is getting deprecated and every user is advised
to switch to either macos-11 or macos-12. The link to upstream
issue/notification:
https://github.com/actions/virtual-environments/issues/5583
2022-07-15 07:56:21 -07:00