Michael Hoang
9fe8a0a738
ci: check that switching to new configurations works after installation
2024-11-21 11:07:47 +11:00
Michael Hoang
a4d4d12e38
examples: change default architecture to aarch64-darwin
2024-11-21 11:07:47 +11:00
Michael Hoang
60ed03d0b1
installer: remove
2024-11-21 11:07:47 +11:00
Michael Hoang
65ea368ebb
installer: move channel creation to README
2024-11-21 11:07:47 +11:00
Michael Hoang
9a1bea70d5
installer: move creating default configuration to README
2024-11-21 11:07:47 +11:00
Michael Hoang
7918e24e5b
treewide: remove nix.package
example
2024-11-17 01:11:27 +11:00
Michael Hoang
293589065d
ci: fix manual not being regenerated when non-Nix files are updated
...
This also fixes the README not being updated on the website as well
2024-11-09 21:28:09 +11:00
Michael Hoang
a89c851923
ci: don't override nixpkgs when building the manual
...
This causes `nix-darwin` to not have `rev` or `dirtyRev`
2024-11-09 20:37:50 +11:00
Michael Hoang
222c3cb558
ci: fix uninstaller failing to run in install-against-unstable
2024-11-07 18:53:19 +11:00
Michael Hoang
7bbc7c5db6
ci: test uninstallation of nix-darwin using flakes
2024-11-07 18:52:15 +11:00
Michael Hoang
ebca0c23c9
uninstaller: switch to writeShellApplication
...
By not defining a `shellHook`, `nix-shell -A uninstaller` and
`nix-shell -A uninstaller.check` no longer work.
2024-11-07 18:52:15 +11:00
Michael Hoang
223a920ab4
ci: upgrade actions/checkout
2024-11-07 15:26:53 +11:00
Michael Hoang
37b591bd8b
ci: remove unused workflows
2024-11-07 15:26:53 +11:00
Michael Hoang
e0f243d17e
ci: run nix flake check
2024-11-07 15:26:53 +11:00
Michael Hoang
68637ee7db
flake: expose jobs
from release.nix
as a flattened attrset
2024-11-07 15:26:53 +11:00
Michael Hoang
07db4e57d3
ci: switch to macos-13
...
The `macos-12` runner image will be removed by 3 Dec 2024.
2024-11-05 10:41:56 +11:00
Michael Hoang
53b9de4d6c
ci: remove tests to ensure submodules work
2024-11-03 12:56:25 +11:00
Emily
64d9d1ae25
Merge pull request #1112 from Enzime/push-wkxpqmxomwxp
...
ci: don't run tests twice for PRs from forks
2024-10-22 07:37:24 +01:00
Michael Hoang
cbb190eccb
ci: update Nix to match versions in nixpkgs
2024-10-22 14:56:25 +11:00
Michael Hoang
8724129dc8
ci: don't run tests twice for PRs from forks
...
By only triggering on pushes to `master`, when users push to
non-`master` branches on forks, this workflow won't get triggered and
will only get triggered when users make a PR to the main repo.
2024-10-22 14:35:08 +11:00
Emily
9d7aebb303
Merge pull request #1073 from emilazy/push-xxvyptqvpqxw
...
ci/update-manual: use Nixpkgs 24.05
2024-09-12 14:12:07 +01:00
Emily
537097b331
ci/update-manual: use Nixpkgs 24.05
2024-09-12 10:41:47 +01:00
Emily
98189683a4
ci: use Determinate Systems installer for stable Nix
2024-09-11 00:37:08 +01:00
Emily
f29c6fc015
ci: use Nix 2.24.6 for unstable jobs
...
Includes the Sequoia installer fixes.
2024-09-11 00:37:08 +01:00
Emily
bda49fe089
ci: update stable Nixpkgs to 24.05
2024-09-11 00:37:08 +01:00
Weijia Wang
1098e60e92
ci, readme: update stable nixpkgs to 23.11
2024-04-18 18:29:24 +02:00
Michael Hoang
49ae6b92ff
fix: tests failing to build on unstable Nix
...
Use Nix 2.13.6 which is the default version for NixOS 23.05.
2023-11-24 09:53:59 +11:00
Michael Hoang
a86a6f8b71
workflows: use nix-darwin
instead of darwin
2023-07-13 22:39:28 +10:00
Michael Hoang
cad8954f75
etc: fail if we can't add a file
...
Fixes #598
2023-07-11 18:59:05 +10:00
Michael Hoang
5288a72354
Allow flaky installation with darwin-rebuild
2023-07-11 18:59:05 +10:00
Daiderd Jordan
25ae710ba3
also update README in gh-pages
2023-06-25 13:07:55 +02:00
Emily
df03a145b3
ci: update manual updater to 23.05
...
Fix https://github.com/LnL7/nix-darwin/issues/709 .
2023-06-25 06:43:54 +01:00
Emily
42d1643e7a
{ci,readme}: update stable nixpkgs to 23.05
...
22.11 is deprecated and can no longer generate the manual.
2023-06-24 10:48:55 +01:00
toonn
cd87d92320
GHActions: Bump install-nix-action to v22
...
Not all workflows were updated but some were, this fixes the
inconsistency.
2023-06-18 20:03:45 +02:00
Michael Hoang
8d13a55f1c
workflows: fix Nix install on macos-12
2023-06-17 22:57:44 +10:00
Michael Hoang
f532e43f7e
templates.flake: add contents of simple.nix
2023-06-17 22:57:44 +10:00
Michael Hoang
fc955520dd
flake: add template with basic flake config
2023-06-17 22:09:38 +10:00
Daiderd Jordan
57094eaf5a
Merge pull request #641 from lockejan/update-ci
...
Update ci and introduce matrix builds against stable and unstable
2023-05-22 18:42:29 +02:00
Jan Schmitt
ebdd18cdc1
ci: refactor to several jobs to enable optional checks
2023-05-19 13:33:38 +02:00
Konrad Malik
597c723f1c
test: added a test to run build with git+file schema
...
Based on a PR by @reckenrode
2023-04-29 14:49:06 +02:00
Jan Schmitt
d222200091
ci: use latest stable channel 22.05 -> 22.11
...
* use matrix build to run tests against latest stable and unstable
channel
* add descriptions to github action steps
2023-04-28 13:26:11 +02:00
Jan Schmitt
8c9337e286
ci: bump actions to most recent version
...
* use checkout@v3 and install-nix-action@20
2023-04-26 23:01:01 +02:00
Nathan Henrie
e3c24b5e0c
Test submodule support
2022-12-14 03:45:00 -07:00
Marin Usalj
0ed84cbf72
Update install-nix-action and nix to 22.05
...
Might need to update nix further if it keeps erroring.
2022-08-12 14:25:48 -04:00
Marin Usalj
7d37b79015
[github] Use macos-12
...
It might be beneficial to set up a matrix
([docs](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-multi-dimension-matrix ))
and run all major supported macOS versions in parallel.
Reason: macos-10.15 is [being deprecated](https://github.com/actions/runner-images/issues/5583 ) and
will be fully unsupported by Aug 30 2022.
2022-08-12 14:15:02 -04:00
Malo Bourgon
f3a7282410
Add workflow to auto-update manual
2022-03-22 10:31:55 -07:00
Daiderd Jordan
9a388b6b56
bump stable tests to 21.05
2022-01-16 09:40:14 +01:00
Daiderd Jordan
bebb35922d
bump nix-install-action
2021-12-21 15:42:42 +01:00
Daiderd Jordan
d2bbe72e18
use current branch as darwin input for flakes
...
Overriding the registry was supposed to handle this but it seems the
behaviour changed at some point or never worked as intended if an url is
defined for the input.
2021-09-15 20:10:56 +02:00
Thibault Gagnaux
dbddb3a1a6
Adds GITHUB_TOKEN
due to rate limiting
2021-03-26 07:17:26 +01:00