Jakub Konka
a226aef36c
test-cases: enable stage2 tests on Windows
2022-09-07 22:42:59 +02:00
Jakub Konka
11d14a23a3
win-ci: add missing ZIGPREFIXPATH variable def
2022-09-07 22:21:12 +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
f4980a4800
CI: windows: update tarball
...
needed because of some changes to std.dwarf
2022-08-24 16:18:42 -07:00
Andrew Kelley
7b14d614d9
CI: update windows tarball
2022-08-22 15:55:38 -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
9f43ebd6ef
CI: windows: build stage3 directly from dev kit
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
Jakub Konka
b6ce0cce69
windows-ci: pass -Domit-stage2 to test-toolchain
2022-08-17 23:13:58 +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
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
Andrew Kelley
aade8856ee
CI: update scripts to stage1 LLVM 14 tarballs
...
The previous tarballs were stage3 which is not quite ready for primetime
yet.
2022-07-08 21:28:06 -07:00
Andrew Kelley
bdf3fa12fa
CI: update scripts to new LLVM 14 tarballs
2022-07-07 20:47:58 -07:00
Andrew Kelley
bcfc4f0ceb
CI: update tarballs to LLVM 14
2022-07-04 20:12:44 -07:00
Andrew Kelley
e74382b602
ci: azure: update to newest LTS ubuntu
2022-03-06 20:03:57 -07:00
Carlos Zúñiga
d8da9a01fc
Use lowercase in shasum for windows builds
2022-02-21 00:40:46 -05:00
Hadrien Dorio
02902cc099
ci: azure: split build-and-test step ( #10853 )
...
replace the .bat script by a pwsh script
2022-02-16 22:33:08 -05:00
Andrew Kelley
25a7025613
ci: use zig-bootstrap for windows
2022-02-16 18:43:45 -07:00
Andrew Kelley
44b5fdf326
Revert "ci: azure: split build-and-test step"
...
This reverts commit 846eb701821a3f2af514bbad770478e3276b2d89.
This did not properly translate the upload portion of the CI script to
powershell which broke our CI pipeline.
2022-02-09 18:26:56 -07:00
Andrew Kelley
274b9d5c1d
ci: work around azure networking issue
2022-02-09 16:42:15 -07:00
Andrew Kelley
92cb17a331
CI: windows: update env var names
2022-02-09 10:41:12 -07:00
Hadrien Dorio
846eb70182
ci: azure: split build-and-test step
...
replace the .bat script by a pwsh script
2022-02-08 19:47:46 -05:00
Andrew Kelley
aa902c7042
ci: azure: update to newer msys2 release
2022-01-29 11:28:57 -07:00
Michael Dusan
a7d215759e
ci: fully activate ci.ziglang.org linux
...
- disable azure/linux
- split probe/build/test steps for log clarity
- add package step; enabled only when master/pull
- add on-master-success pipeline; enabled only when master/pull
2021-11-08 13:45:03 -05:00
Jonathan Marler
e5fd45003e
azure pipeline fix removal of recently run exe
...
The following is an azure failure that occured Sep 13:
del : Cannot remove item D:\a\1\s\sfx.exe: The process cannot access the file 'D:\a\1\s\sfx.exe' because it is being used by another process.
Windows will keep a hold of recently run exeutables even after their process has exited. To avoid this I've just removed the deletion of the exe file. It's about 70 MB so it's probably OK.
2021-09-15 13:47:09 -04:00
Andrew Kelley
2b90e2c284
ci: azure: update to newer msys2 release
2021-09-15 10:32:33 -07:00
Andrew Kelley
408d8df86c
ci: azure: update to newer msys2 release
2021-06-14 12:03:10 -07:00
Michael Dusan
fb8527b289
azure: bump timeout for macos-arm64
2021-05-12 06:38:01 -04:00
Andrew Kelley
c795e82cbc
ci: windows: update to llvm 12 msvc tarball
2021-04-15 12:40:22 -07:00
Andrew Kelley
45eb9554c4
ci: windows: try using zig-bootstrap to build zig
2021-04-14 23:03:16 -07:00
Michael Dusan
cab1d5c1a3
azure: OnMasterSuccess dependsOn BuildMacOS_arm64
2021-04-11 05:17:18 -04:00
Michael Dusan
75f86dab3f
macos: add aarch64 (arm64) to downloads page
2021-04-10 19:33:17 -07:00
Andrew Kelley
175adc0bd7
ci: update msys2 installer
2021-03-28 17:49:28 -07:00
Michael Dusan
e35f325dd1
azure: produce macos arm64 binaries
...
new pipeline `BuildMacOS_arm64`
- `vmImage: 'macOS-10.15' `
new `macos_arm64_script`
- switch from using `make` to `ninja`
- select xcode 12.4
- set zig-cache env variables
- build host-zig binary with xcode, link against llvm for x86_64 (target macos 10.15)
- build arm64-zig binary with xcode and host-zig, link against llvm for arm64 (target macos 11.0)
- ad-hoc codesign arm64 binary with linker
- use host-zig for docgen
- use host-zig for experimental std lib docs
- sync final `release/` hierarchy with `linux_script`
- use gnu-tar for good-practices (set owner, set sort)
enhance `CMakeLists.txt`
- do not build `zig0` when cross-compiling
- disable `BYPRODUCTS` directive `zig1.o` to avoid `ninja` error
see #8265
2021-03-20 22:50:51 +01:00
Frank Denis
5afd6204e8
Azure CI: update MSYS version
2021-01-06 15:52:34 -08:00
Frank Denis
7b9af0592d
Azure Pipelines CI: update msys2 to the current version
2020-11-15 00:27:18 +01:00
Andrew Kelley
92926c4331
ci: no space in vmImage I guess
2020-10-12 21:58:46 -07:00
Andrew Kelley
461792f9de
ci: update to macos 10.15 image
2020-10-12 21:53:13 -07:00
Andrew Kelley
682a29aefd
ci: stop testing mingw builds
...
Zig supports both Linux and Windows natively. Those are the main use
cases we are focusing on. Happy to accept mingw patches if they are
non-invasive, but we will not be hampering progress on the main use
cases with failing mingw CI builds.
2020-10-04 21:51:41 -07:00
Andrew Kelley
d1e779cea8
ci: update azure msys base installer
...
hopefully resolves the CI failures
2020-10-03 17:33:51 -07:00
Andrew Kelley
9b75091fd4
ci: update msys2 installer
2020-07-25 22:21:52 -07:00
Jonathan Marler
3a2cc5decf
azure-pipelines: fix msys2 install
2020-06-24 14:33:01 -04:00
emekoi
0744d93ed5
added CI job for mingw
2020-04-12 16:44:29 -04:00
Andrew Kelley
e2a0bea65f
ci: bump ubuntu from 16.04 to 18.04
2019-11-07 16:18:42 -05:00