Make Hercules CI succeed (#78)

Remove hlsCheck, sadly.
This commit is contained in:
Sridhar Ratnakumar 2022-12-23 20:16:59 -05:00 committed by GitHub
parent ce85733722
commit 1efe165ef3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 10 deletions

View file

@ -15,6 +15,9 @@ jobs:
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
# Srid's cache; leaving disabled for template use.
# trusted-public-keys = cache.srid.ca:8sQkbPrOIoXktIwI0OucQBXod2e9fDjjoEZWn8OXbdo=
# substituters = https://cache.srid.ca
- name: Cache Nix dependencies
run: |
nix develop -j 4 -c echo

View file

@ -20,14 +20,13 @@ For details, see: https://srid.ca/haskell-template/start
## Tips
- Run `nix flake update` to update all flake inputs.
- Run `nix --option sandbox false build .#check -L` to run the flake checks.
- Run `nix build .#check -L` to run the flake checks.
- Run `, fmt` in nix shell to autoformat the project. This uses [treefmt](https://github.com/numtide/treefmt).
- Run `, docs` to start Hoogle with packages in your cabal file.
- Run the application without installing: `nix run github:srid/haskell-template` (or `nix run .` from checkout)
- Common workflows
- Adding library dependencies in Nix: https://srid.ca/haskell-template/dependency
- Adding tests: https://srid.ca/haskell-template/tests
- Adding Garnix CI: https://srid.ca/haskell-template/garnix
## Discussions

View file

@ -29,7 +29,7 @@
treefmt = config.treefmt.build.wrapper;
} // config.treefmt.build.programs;
# overrides = self: super: {}
hlsCheck.enable = true;
hlsCheck.enable = false;
hlintCheck.enable = true;
};
@ -91,6 +91,8 @@
devShells.default =
config.mission-control.installToDevShell self'.devShells.main;
};
# CI configuration
flake.herculesCI.ciSystems = [ "x86_64-linux" "aarch64-darwin" ];
};
}

View file

@ -1,7 +0,0 @@
builds:
include:
- "*.aarch64-darwin.*"
- "*.x86_64-linux.*"
exclude:
# https://github.com/srid/haskell-flake/issues/21
- "checks.*.main-hls"