Commit Graph

90 Commits

Author SHA1 Message Date
Wolfgang Thaller
d4636b5c86 avoid using nixpkgs to install cachix, to avoid stressing github's rate limits 2024-05-12 13:20:06 +02:00
Wolfgang Thaller
5f72352b3e increase timeout for macOS/Nix builds 2024-05-01 23:31:10 +02:00
Wolfgang Thaller
398e7361a7 ADO: add texinfo to macos deps 2023-12-29 14:42:53 +01:00
Wolfgang Thaller
726972f708 use macOS 13 on azure 2023-12-29 10:11:12 +01:00
Wolfgang Thaller
8063e142d7 re-enable regular build 2023-12-28 22:26:23 +01:00
Wolfgang Thaller
3516d8ca44 no reason to limit parallelism for the nix builds
(yet, until the carbon & powerpc builds actually share a package)
2023-12-28 22:25:29 +01:00
Wolfgang Thaller
08baa1ab70 use macos-latest and ubuntu-latest for nix builds 2023-12-28 20:40:19 +01:00
Wolfgang Thaller
3c453c897f fix --out-link option syntax 2023-12-26 23:52:27 +01:00
Wolfgang Thaller
3193ad031c trust the right user for cache setup 2023-12-26 23:37:56 +01:00
Wolfgang Thaller
d88e9aba55 disable non-nix builds 2023-12-26 23:33:22 +01:00
Wolfgang Thaller
193610a2e1 we want nix in path 2023-12-26 23:33:00 +01:00
Wolfgang Thaller
ddfda03281 install cachix via nixpkgs#cachix 2023-12-26 23:28:47 +01:00
Wolfgang Thaller
d22b0d3184 setup nx before checkout 2023-12-26 23:26:45 +01:00
Wolfgang Thaller
9ccb30d35c use no-confirm option for nix installer 2023-12-26 23:25:43 +01:00
Wolfgang Thaller
d37d7e0612 use determinate nix installer & flake build on ADO 2023-12-26 23:22:55 +01:00
Wolfgang Thaller
bde2e8f74f only push docker image when on main branch 2023-12-16 22:29:26 +01:00
Wolfgang Thaller
323d3e3a34 Revert "azure-pipelines.yml: temporary disable all non-Linux builds"
This reverts commit a230a79ca3.
2023-12-16 22:27:36 +01:00
Wolfgang Thaller
9ff29c557e reactivate actual build 2023-12-16 20:40:14 +01:00
Wolfgang Thaller
3737404c4b without comdition 2023-12-16 19:10:22 +01:00
Wolfgang Thaller
192081cd01 use variable group 2023-12-16 19:05:30 +01:00
Wolfgang Thaller
e2143c9c20 try with service connection again 2023-12-16 17:02:16 +01:00
Wolfgang Thaller
34eeb4dbb7 use token variable and explicit commands for docker 2023-12-16 16:47:36 +01:00
Wolfgang Thaller
1d8f4f6774 test setup for docker 2023-12-16 16:27:50 +01:00
Wolfgang Thaller
147b839de6 update docker connection 2023-12-16 12:59:53 +01:00
Mark Cave-Ayland
de06b24fd7 azure-pipelines.yml: push retro68 release image to GHCR
This release image contains the basic toolchain that can be used for building
projects without having to build Retro68 locally, including integration into a
CI pipeline.
2023-12-16 12:59:53 +01:00
Mark Cave-Ayland
3a4468b270 azure-pipelines.yml: switch from host build to container build
This has two main advantages: firstly it means that the Dockerfile is being tested
as part of the pipeline when changes are merged into master, and secondly it allows
testing of Linux builds without requiring a separate job for Docker that can consume
even more CI minutes.

In order to test the container image it is necessary to manually start the build
image using docker run, execute the tests, and then copy the results back to the
host ready for publishing.

Note that since the base OS image is now handled by docker we can switch the host
to use the 'ubuntu-latest' image rather than the older 'ubuntu-20.04' image.
2023-12-16 12:59:53 +01:00
Mark Cave-Ayland
a230a79ca3 azure-pipelines.yml: temporary disable all non-Linux builds 2023-12-16 12:59:51 +01:00
Wolfgang Thaller
a97417fecc ci: update nix docker version 2023-12-09 01:03:45 +01:00
Ryan Schmidt
e03a4d2344 Azure: Update to macOS 11
The macOS 10.15 environment is scheduled for removal by December and is
subject to periodic scheduled brownouts until then.
2022-09-22 00:23:58 -05:00
Wolfgang Thaller
32c718987d cachix: suppress failures 2022-08-01 18:06:16 +02:00
Wolfgang Thaller
b1dde42211 Revert "Another attempt at skipping cachix upload without tokens"
This reverts commit 9e977cfd6e.
2022-08-01 16:58:49 +02:00
Wolfgang Thaller
9e977cfd6e Another attempt at skipping cachix upload without tokens 2022-08-01 10:29:52 +02:00
Wolfgang Thaller
b80961e6c1 simplify 2022-07-31 23:24:53 +02:00
Wolfgang Thaller
d8186c3af4 try a different method of testing whether the cachix token is available 2022-07-31 23:24:17 +02:00
Wolfgang Thaller
d4d6fc69a9 don't try to upload PR builds to cachix 2022-07-31 22:54:06 +02:00
Wolfgang Thaller
461911892d re-enable regular builds 2022-01-29 17:47:48 +01:00
Wolfgang Thaller
5677cd6976 try adding carbon build 2022-01-19 00:58:03 +01:00
Wolfgang Thaller
67ca8f6e7c ADO is so strict about job names.... 2022-01-19 00:10:50 +01:00
Wolfgang Thaller
eb8be73b36 fix yaml syntax 2022-01-19 00:09:34 +01:00
Wolfgang Thaller
9791599661 matrix build 2022-01-19 00:06:02 +01:00
Wolfgang Thaller
19f143a4be syntax variation 2022-01-18 10:20:11 +01:00
Wolfgang Thaller
ae6785bcdc forgot export 2022-01-18 09:35:00 +01:00
Wolfgang Thaller
e00d4c692a try NIX_EXTRA_CONF 2022-01-18 09:30:03 +01:00
Wolfgang Thaller
636e1a26ec experiment 2022-01-18 09:20:04 +01:00
Wolfgang Thaller
423ac43905 use launchctl to restart nix daemon 2022-01-18 09:08:45 +01:00
Wolfgang Thaller
4b9d7265a2 cachix fixes 2022-01-18 00:41:23 +01:00
Wolfgang Thaller
0a3e5550c7 add cachix 2022-01-18 00:05:48 +01:00
Wolfgang Thaller
015529e93f experiment 2022-01-17 23:59:29 +01:00
Wolfgang Thaller
3508da596a source something else to get nix profile 2022-01-17 23:51:01 +01:00
Wolfgang Thaller
4d7f9ce1bb set up nix profile 2022-01-17 23:19:09 +01:00