aboutsummaryrefslogtreecommitdiff
path: root/ci/azure/macos_script
AgeCommit message (Collapse)Author
2022-11-21CI: switch to GitHub ActionsAndrew Kelley
2022-10-27CI: make directory structure in releases consistentEric Joldasov
2022-10-25CI: update macos and windows tarballsAndrew Kelley
2022-10-22Revert "fix CI failures with commit "ci: make directory structure in ↵Andrew Kelley
releases consistent"" This reverts commit 54c8861bc4b6aa08a2252943c93317d91ef0bfa6. This caused CI failure.
2022-10-22fix CI failures with commit "ci: make directory structure in releases ↵Eric Joldasov
consistent"
2022-10-21Revert "ci: make directory structure in releases consistent"Andrew Kelley
This reverts commit 28054d96f0ed5280660811612732cb000f9c09e8. This caused CI failures.
2022-10-21ci: make directory structure in releases consistentEric Joldasov
2022-09-17ci: azure: macos: use updated release tarballJakub Konka
2022-09-15ci: azure: macos: use an unstripped debug zig tarballAndrew Kelley
Hopefully will give us some insight into the spurious failures. Follow-up from afba53f0f168365a9540a8c8bb39e85a44e0249c.
2022-09-14CI: swap out azure macos tarball for unstripped ReleaseSafeAndrew Kelley
Hopefully will give us some insight into the spurious failures.
2022-09-12update CI tarballs with libcxx fixAndrew Kelley
The main reason to update the CI tarballs is f79824f946995a050c261ee96a08e31ccf00a112 which fixes an issue that caused the CI to fail on all targets.
2022-09-12update CI tarballs for LLVM 15Andrew Kelley
2022-08-31CI: macos: skip non nativeAndrew Kelley
We already test cross compiling on x86_64-linux; no need to additionally test it in the macOS script.
2022-08-30CI: use absolute path for zig lib dirAndrew Kelley
Workaround for #12685
2022-08-29CI: pass explicit zig lib dir in lots of placesAndrew Kelley
see #12684 for motivation
2022-08-28CI: rework to account for new cmake behaviorAndrew Kelley
* 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-19CI: use zig build to produce release artifactAndrew Kelley
For both macOS and FreeBSD.
2022-08-19CI: macos: set release mode for zig and simplifyAndrew Kelley
2022-08-19make self-hosted the default compilerAndrew Kelley
stage1 is available behind the -fstage1 flag. closes #89
2022-07-12wasm-linker: Implement linker tests (#12006)Luuk de Gram
* test/link: initial wasm support This adds basic parsing and dumping of wasm section so they can be tested using the new linker-test infrastructure. * test/link: all wasm sections parsing and dumping We now parse and dump all sections for the wasm binary format. Currently, this only dumps the name of a custom section. Later this should also dump symbol table, name, linking metadata and relocations. All of those live within the custom sections. * Add wasm linker test This also fixes a parser mistake in reading the flags. * test/link: implement linker tests wasm & fixes Adds several test cases to test the wasm self-hosted linker. This also introduces fixes that were caught during the implementation of those tests. * test-runner: obey omit_stage2 for standalone When a standalone test requires stage2, but stage2 is omit from the compiler, such test case will not be included as part of the test suite that is being ran. This is to support CI's where we omit stage2 to lower the memory usage.
2022-07-08CI: update scripts to stage1 LLVM 14 tarballsAndrew Kelley
The previous tarballs were stage3 which is not quite ready for primetime yet.
2022-07-07CI: update scripts to new LLVM 14 tarballsAndrew Kelley
2022-07-04CI: update tarballs to LLVM 14Andrew Kelley
2022-06-22link-tests: enable on macos CI host only for nowJakub Konka
2022-06-19macos: run test-cases single threaded in the CIJakub Konka
2022-05-22Set macOS/iPhoneOS/tvOS/watchOS ABI to none (unspecified) by defaultJakub Konka
Prior to this change we would assume the ABI for Apple targets to be GNU which could result in subtle errors in LLVM emitting calls to non-existent system libc provided functions such as `_sincosf` which is a GNU extension and as such is not provided by macOS for example. This would result in linker errors where the linker would not be able to find the said symbol in `libSystem.tbd`. With this change, we now correctly identify macOS (and other Apple platforms) as having ABI `unknown` which translates to unspecified in LLVM under-the-hood: ``` // main.ll target triple = "aarch64-unknown-macos-unknown" ``` Note however that we never suffix the target OS with target version such as `macos11` or `macos12` which means we fail to instruct LLVM of potential optimisations provided by the OS such as the availability of function `___sincosf_stret`. I suggest we investigate that in a follow-up commit.
2022-05-13migrate runtime safety tests to the new test harnessAndrew Kelley
* migrate runtime safety tests to the new test harness - this required adding compare output / execution support for stage1 to the test harness. * rename `zig build test-stage2` to `zig build test-cases` since it now does quite a bit of stage1 testing actually. I named it this way since the main directory in the source tree associated with these tests is "test/cases/". * add some documentation for the test manifest format.
2022-05-07CI: fix universal libc step nameAndrew Kelley
This was a merge conflict that went undetected.
2022-05-07macho: share traditional codepaths with stage2+llvm backendJakub Konka
2022-05-06CI: macos: disable stage2 test-behaviorAndrew Kelley
stage2 on macOS is not yet capable of passing these tests. Such improvements will be done in a follow-up change.
2022-05-06CI: macos: stage2 zig build test-behaviorAndrew Kelley
2022-03-17CI: explicitly pass -fno-LLVMAndrew Kelley
Needed because of previous commit.
2022-02-17CI: more stage2 test coverageAndrew Kelley
* Test everything on the Linux CI even if we can't run it, because it's our fastest machine. * Test stage2 using a build of stage2 (instead of using `-fno-stage1`) so that compiler-rt is also built with stage2. * Additionally test running x86_64-macos on the macOS CI, both the LLVM backend and x86_64 backend.
2022-02-15CI: update macos and freebsd tarballsAndrew Kelley
2022-02-11CI: upgrade x86_64-macos tarball to llvm 13.0.1Andrew Kelley
2021-11-28Force static libncurses in CMakeLists when static zig on macosJakub Konka
Add additional search paths pointing at homebrew prefixes as Apple doesn't ship a static libncurses for linking - only a stub for dynamic linking `libncurses.tbd`.
2021-11-08ci: fully activate ci.ziglang.org linuxMichael Dusan
- 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-10-17ci: disable macos stage 2 testsRobin Voetter
2021-10-01ci: update macos tarballsAndrew Kelley
These bring in a bug fix to libcxx.zig that is currently causing the CI to fail.
2021-10-01ci: update tarballs for LLVM 13Andrew Kelley
NetBSD CI is disabled because it is not yet supported in zig-bootstrap. Once NetBSD has proper zig-bootstrap support, it can be re-enabled. Windows is not solved here yet; will be pushing a separate commit for that.
2021-08-31CI: update Linux and macOS tarballs to LLVM 12.0.1Andrew Kelley
2021-08-02Add -Denable-macos-sdk explicit flag to build.zigJakub Konka
This way, we can explicitly signal if a test requires the presence of macOS SDK to build. For instance, when testing our in-house MachO linker for correctly linking Objective-C, we require the presence of the SDK on the host system, and we can enforce this with `-Denable-macos-sdk` flag to `zig build test-standalone`.
2021-07-28CI: enable stage2 behavior test coverageAndrew Kelley
2021-05-30ci: update x86_64-macos and aarch64-macos tarballsJakub Konka
to llvm 12.0.1-rc1, and -DLLVM_ENABLE_ZLIB=FORCE_ON
2021-05-10Tweak macos_arm64_script to use bootstrapped zigJakub Konka
2021-05-10Use zig-bootstrapped x86_64 macos compiler in CIJakub Konka
2021-05-02Restore the CI logging as beforeFrank Denis
2021-05-01CI: no need to try qemu and wasmtime on macOS buildsFrank Denis
2021-04-30Azure CI: Test std.* and the rest separatelyFrank Denis
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-15ci: update macos tarball to llvm 12Andrew Kelley