Jakub Konka
b0ee911c23
wasi: always grant fd_readdir right
...
Since v0.23 release of Wasmtime, if we want to iterate a directory
Y then directory Y needed to have been granted `fd_readdir` right.
However, it is now also required for directory X to carry `fd_readdir`
right, and so on, up-chain all the way until we reach the preopen
(which possesses all rights by default).
This caused problems for us since our libstd implementation is more
fine-grained and allowed for parent dirs not to carry the right while
allow for iterating on its children. My proposal here is to always
grant `fd_readdir` right as part of
`std.fs.Dir.OpenDirOptions.access_sub_paths`. This seems to be the
approach taken by Rust also, plus we should be justified to take this
approach since WASI is experimental and snapshot1 will be discontinued
eventually and replaced with a new approach to access management
that will require a complete rewrite of our libstd anyhow.
2021-06-08 05:48:33 +02:00
Andrew Kelley
ddf9c40bc1
ci: fix 0.8.0 release date
2021-06-04 16:33:50 -07:00
Andrew Kelley
c7b68ce0f8
ci: fix aarch64-macos download tarball filename
2021-06-04 16:21:01 -07:00
Andrew Kelley
555805e0d5
ci: update download page releases
2021-06-04 15:33:18 -07:00
Andrew Kelley
05cd8936c8
ci: drone: use zig-bootstrap tarball instead of system toolchain
2021-06-02 17:03:11 -07:00
Andrew Kelley
16c5cbab0c
ci: update x86_64-freebsd tarball
...
to llvm 12.0.1-rc1, and -DLLVM_ENABLE_ZLIB=FORCE_ON
2021-06-01 23:26:53 -07:00
Jakub Konka
0ad534b392
ci: update x86_64-macos and aarch64-macos tarballs
...
to llvm 12.0.1-rc1, and -DLLVM_ENABLE_ZLIB=FORCE_ON
2021-05-30 08:46:35 +02:00
Andrew Kelley
e46c55edbd
ci: update x86_64-linux, aarch64-linux, and windows tarballs
...
to llvm 12.0.1-rc1, and -DLLVM_ENABLE_ZLIB=FORCE_ON
2021-05-29 20:18:02 -07:00
Andrew Kelley
9910bfa6d8
ci: use a different ssh private key to deploy the website
...
This changes the deploy key to a different one on www.ziglang.org so
that we can test notifications.
2021-05-19 21:36:48 -07:00
Andrew Kelley
d228d86059
ci: drone: refresh docker image with latest alpine
...
hopefully resolves the failures we've been seeing recently
2021-05-18 11:29:14 -07:00
Michael Dusan
04d95ea419
ci linux: bump qemu-5.2.0.1
...
- apply patch for qemu-user syscall do_sendrecvmsg_locked
- see #8750
2021-05-17 12:06:25 -04:00
Michael Dusan
fb8527b289
azure: bump timeout for macos-arm64
2021-05-12 06:38:01 -04:00
Jakub Konka
53acb54fad
Bump zig-bootstrap and wasmtime versions in linux CI ( #8738 )
...
* Bump zig-bootstrap and wasmtime versions in linux CI
* Revert wasm stage2 test fixup; point to issue
2021-05-12 09:56:55 +02:00
Isaac Freund
f8cf106fc9
ci: unset CC/CXX before make install on macos arm64
...
Having these set causes zig's native libc detection code to fail.
2021-05-11 21:30:13 +02:00
Jakub Konka
b7a6a251a0
Tweak macos_arm64_script to use bootstrapped zig
2021-05-10 18:42:01 +02:00
Jakub Konka
603242fa86
Use zig-bootstrapped x86_64 macos compiler in CI
2021-05-10 13:55:48 +02:00
Andrew Kelley
5622f9382c
Merge pull request #8657 from jedisct1/ci-split
...
Azure CI: Test std.* and the rest separately
2021-05-03 17:36:51 -04:00
Luna
c47028cd02
ci: freebsd: use py38-s3cmd
2021-05-02 17:24:17 -04:00
Frank Denis
9a637f81e0
Restore the CI logging as before
2021-05-02 02:07:59 +02:00
Frank Denis
3e389d01ed
CI: no need to try qemu and wasmtime on macOS builds
2021-05-01 00:38:54 +02:00
Frank Denis
b49d99b246
Azure CI: Test std.* and the rest separately
...
On CI, we have been running into OOM issues when running the test
suite on Windows for quite some time.
Unfortunately, we are very close to having the same issues on Linux
as well. Some additional comptime work immediately makes these builds
fail as well.
Add a new `test-toolchain` step, that tests everything except `std.*`
and documentation.
On CI, call `test-toolchain`, `test-std` and `docs` separately
instead of the `test` big hammer that emcompasses all of them.
Change the special case we made for Windows to the same code as other
platforms.
This is a stopgap measure that stage2 will eventually make useless.
Until then, it gives us some headroom.
Change `linux_script` by the way to only output the log of failing
steps. This shrinks the Linux CI log from a bazilion lines down to
something more humanely manageable.
2021-04-30 23:41:28 +02:00
LemonBoy
0340ed3a9e
build: Re-add test-translate-c and test-run-translated-c
2021-04-25 17:02:48 +02:00
Michael Dusan
37b05742ff
ci: drone disable debug test suite for aarch64
...
Temporary workaround for #8597 until upstream fix lands.
- add `zig build -Dskip-debug` option
- build a release-fast build.exe
- disable test suite build modes { debug, release-small, release-safe }
- enable passing test-* components
- use parallel pipeline steps for tests
2021-04-25 00:02:36 -04:00
Andrew Kelley
235aa8c078
ci: drone: don't skip stage2 tests
...
the stalls seem to be happening for a different reason
2021-04-16 09:57:31 -07:00
Andrew Kelley
2b2920f599
ci: drone: disable stage2 tests
...
See #8545
2021-04-15 16:20:43 -07:00
Andrew Kelley
c795e82cbc
ci: windows: update to llvm 12 msvc tarball
2021-04-15 12:40:22 -07:00
Andrew Kelley
c49fe52cb1
ci: update macos tarball to llvm 12
2021-04-15 11:27:02 -07:00
Andrew Kelley
a38042e3ac
ci: windows: proper flags to zig build
2021-04-15 02:02:36 -07:00
Andrew Kelley
fa633a658f
ci: windows: try the dev kit strategy
2021-04-15 01:44:17 -07:00
Andrew Kelley
4a1d3465cc
ci: windows: ranlib take 2
2021-04-15 01:22:42 -07:00
Andrew Kelley
3266f326de
ci: windows: better -DCMAKE_RANLIB option
2021-04-15 01:14:33 -07:00
Andrew Kelley
996193c228
ci: freebsd: don't try to compile with zig cc
2021-04-15 00:51:26 -07:00
Andrew Kelley
a680c7ba98
ci: windows: use llvm-ar.exe from the tarball
2021-04-15 00:41:30 -07:00
Andrew Kelley
c59241bda0
ci: better handle of -mcpu
2021-04-15 00:18:21 -07:00
Andrew Kelley
553fbeba82
ci: better target triple and mcpu cmake args
2021-04-14 23:49:16 -07:00
Andrew Kelley
85755c51d5
ci: freebsd: set the target triple
2021-04-14 23:35:51 -07:00
Andrew Kelley
df319db058
ci: windows: install git
2021-04-14 23:18:03 -07:00
Andrew Kelley
3967823f3a
ci: freebsd: pass -DZIG_USE_LLVM_CONFIG=OFF
2021-04-14 23:17:08 -07:00
Andrew Kelley
ee42178b43
ci: aarch64-linux: disable run-translated-c tests
...
See #8537
2021-04-14 23:10:51 -07:00
Andrew Kelley
45eb9554c4
ci: windows: try using zig-bootstrap to build zig
2021-04-14 23:03:16 -07:00
Andrew Kelley
406353103a
ci: freebsd: update to llvm 12
2021-04-14 22:59:34 -07:00
Andrew Kelley
1438c324a4
ci: update drone CI to llvm 12
2021-04-14 21:18:23 -07:00
Andrew Kelley
391a40d601
ci: update linux to llvm12 tarball
2021-04-14 20:35:33 -07:00
Michael Dusan
6a7f21d1b8
ci: macos-aarch64 update dep tarballs for llvm12
2021-04-14 19:43:17 -07:00
Jakub Konka
d6d27d51ef
CI: update brew before installing pkgs
2021-04-12 18:42:51 +02:00
Michael Dusan
cab1d5c1a3
azure: OnMasterSuccess dependsOn BuildMacOS_arm64
2021-04-11 05:17:18 -04:00
Michael Dusan
c676c21824
ci: remove superfluous linefeed from macos arm64
2021-04-11 01:33:17 -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
Jakub Konka
54b42a7596
azure: run pacman with -Sy
2021-03-28 11:01:57 +02:00