Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: fix tests not running on aarch64-darwin #1140

Merged
merged 13 commits into from
Nov 7, 2024

Conversation

Enzime
Copy link
Collaborator

@Enzime Enzime commented Nov 4, 2024

I've cleaned up release.nix by removing package related jobs which aren't run as far as I'm aware and already live in nixpkgs.

I've also exposed the docs and tests in flake.nix under packages and checks respectively which means they should get tested with nix flake check and allows you to build individual tests with nix build i.e. nix build nix-darwin#checks.aarch64-darwin.users-groups

@Enzime Enzime force-pushed the aarch64-tests branch 3 times, most recently from 07f619a to 52ea390 Compare November 4, 2024 11:06
@emilazy
Copy link
Collaborator

emilazy commented Nov 4, 2024

IIRC the last time I tried to do this there was some issue. Maybe the schema was wrong or something? I assume nix flake check works okay like this?

We could probably get rid of some of the existing test jobs as redundant to this, but maybe it’s fine.

@Enzime
Copy link
Collaborator Author

Enzime commented Nov 5, 2024

As far as I'm aware, nix flake check expects packages to be flat and I'm guessing checks as well

Another schema change is in bf3e8e1 where previously we were generating jobs.x86_64-darwin.examples.simple.x86_64-darwin

I've removed the new test jobs and replaced the commands in the existing test-{un,}stable jobs as they should be the same

We decided to drop this example as the package is not available in
Nixpkgs and we won't be able to import it easily and keep this example
evaluating as a useful smoke test. The code in this example is already
documented under `services.ofborg.*` so any interested users can still
find out how to set up `ofborg`.
@emilazy emilazy merged commit 366b99a into LnL7:master Nov 7, 2024
6 checks passed
@Enzime Enzime deleted the aarch64-tests branch November 7, 2024 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants