Commit Graph
293 Commits
Author SHA1 Message Date
dependabot[bot] 251bfa8e94 Bump cachix/install-nix-action from 23 to 24 (#9234)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-03 20:42:21 -08:00
John MacFarlane ab154a46b0 Switch to actions/checkout@v4. 2023-09-10 21:11:16 -07:00
dependabot[bot] 8d924ef645 Bump cachix/install-nix-action from 22 to 23 (#9074)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 22 to 23.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v22...v23)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-10 21:09:58 -07:00
John MacFarlane 889dcbe99c Use ghc 9.6 for release builds.
See #8947.
2023-08-04 13:54:04 -07:00
John MacFarlane 52dc8342ab Change Windows release build to use cabal instead of stack.
Use ghc 9.2 to address #8955.
2023-07-18 17:01:25 -07:00
John MacFarlane 21b51d214d CI: don't trigger ci on changes to cirrus config. 2023-07-12 08:23:50 -07:00
John MacFarlane 61e3d84b55 CI: Another try to specify cabal store directory. 2023-06-28 10:32:37 -07:00
John MacFarlane 6908afdecf CI: fix path for cabal global store.
The GitHub action now uses `$XDG_STATE_HOME/cabal`, which is
why our cache wasn't working.

See https://github.com/haskell/actions/issues/210
2023-06-28 09:09:23 -07:00
John MacFarlane d472d43e43 CI for linux-nix: use -Wall. 2023-06-27 14:49:21 -07:00
John MacFarlane 139ba79305 Add cabal caching to linux-nix-cabal CI workflow. 2023-06-27 09:36:28 -07:00
John MacFarlane f074b03b89 Revert "Try adding magic nix cache to nix CI build."
This reverts commit 295c6b0485.

This was actually slower than what we had before (14m on second
run, as compared to 12m).
2023-06-26 16:46:47 -07:00
John MacFarlane 295c6b0485 Try adding magic nix cache to nix CI build.
See https://determinate.systems/posts/magic-nix-cache
2023-06-26 15:30:38 -07:00
John MacFarlane 7f30075ab7 Add CI testing on ghc 9.6 2023-06-26 09:15:06 -07:00
dependabot[bot] a27eaa22ca Bump cachix/install-nix-action from 21 to 22
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 11:53:48 -04:00
John MacFarlane 6182769307 Remove support for ghc 8.6, 8.8. 2023-06-06 16:08:14 -07:00
dependabot[bot] 4ea1980699 Bump cachix/install-nix-action from 20 to 21
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 12:27:22 -07:00
John MacFarlane c9a04e5cec Fix release-candidate build for macos.
Use ghc 9.4 and cabal 3.10.
2023-03-27 13:31:22 -07:00
John MacFarlane 9edf965712 Add typst writer.
See #8713.
2023-03-25 22:05:52 -07:00
John MacFarlane 440b438158 macos nighty build: use ghc 9.4.4. 2023-03-22 08:19:24 -07:00
John MacFarlane 74328eba7e CI/Nightly: use ghc 9.4 for windows build. 2023-03-16 09:27:51 -07:00
John MacFarlane 84262f2d06 CI: use latest point release for each ghc version. 2023-03-16 08:49:28 -07:00
John MacFarlane 3c1fe09b1f nightly: install ghc 9.4.4 for linux.
Otherwise it will use 9.6.1 which doesn't yet work.
2023-03-16 08:49:28 -07:00
John MacFarlane 7916940c23 More macos release candidate tweaks. 2023-03-12 20:36:45 -07:00
John MacFarlane 2c7b7620ab Fix macos release candidate on GitHub actions.
Change name of release candidate.

Remove linux rc build, as we're building on cirrus.
2023-03-12 19:43:28 -07:00
John MacFarlane 1cd5829a0c Factor out make_macos_release.sh from the release candidate workflow.
Also use cabal instead of stack to build the macos binary.
2023-03-10 09:23:16 -08:00
dependabot[bot] 0fa0097a82 Bump cachix/install-nix-action from 19 to 20 (#8670)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 19 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v19...v20)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-05 19:22:17 -08:00
John MacFarlane c5f791b737 Windows CI: fix directory for global cabal store. 2023-03-05 10:44:51 -08:00
John MacFarlane 2b5385922f Revert "Another attempt at fixing Windows CI caching."
This reverts commit 4345350038.
2023-03-05 10:28:02 -08:00
John MacFarlane 4345350038 Another attempt at fixing Windows CI caching.
We use setup-haskell, which defines cabal-store as one of its outputs.
2023-03-05 10:17:09 -08:00
John MacFarlane 32f0b1da90 CI: Use full windows path for cabal store. 2023-03-04 11:47:39 -08:00
John MacFarlane 572f3259a9 Another attempt to fix windows CI caching. 2023-03-04 11:05:54 -08:00
John MacFarlane 8701da67be Fix nix CI. 2023-03-04 10:58:39 -08:00
John MacFarlane 04b55dd926 Add linux-nix-cabal CI. 2023-03-04 10:50:19 -08:00
John MacFarlane bdb65152e7 Another try at fixing Windows CI caching. 2023-03-04 10:17:52 -08:00
John MacFarlane 07de443c6e Another attempt to fix windows CI caching. 2023-03-02 13:41:53 -08:00
John MacFarlane 7446044ec4 Try to fix cabal global store caching on Windows CI. 2023-03-02 10:17:34 -08:00
John MacFarlane d1c74ae78c Install pkg-config for macos nightly. 2023-02-18 20:54:49 -07:00
John MacFarlane 431979c2e0 CI: add linux-stack. 2023-02-14 12:49:27 -08:00
John MacFarlane 0297f1d180 CI: switch to using cabal on windows.
stack on windows has too many weird errors.
2023-02-14 10:56:44 -08:00
John MacFarlane 4edc02d3b5 Windows CI: don't cache local packages.
We're running into a stack bug with internal libraries.
See commercialhaskell/stack#6046.
2023-02-08 20:17:30 -08:00
John MacFarlane 5feb0d14ae CI: workaround ghcup issue on GitHub actions CI.
See https://discourse.haskell.org/t/incident-github-actions-ci-failure-ghcup/5761
2023-02-08 16:06:17 -08:00
John MacFarlane 538e63846d Macos release candidate action: fix version.txt. 2023-01-18 13:07:54 -08:00
Albert Krewinkel 8034909678 CI: remove unused key testopts from version matrix. 2023-01-12 22:21:39 +01:00
Albert Krewinkel 28fa37e554 CI: test with GHC 9.2.5 and 9.4.4 2023-01-12 22:21:39 +01:00
Albert Krewinkel 2101dcf54c CI: bump all versions of "cache" action to v3
This fixes deprecation warnings on GitHub.
2023-01-12 15:05:28 +01:00
John MacFarlane 1bc48e9dc5 CI: use cabal 3.8.1.0, --ghc-options=-Werror.
Previously we had to work around a cabal-install bug that caused
`-Werror` to react to dependencies as well as local packages,
but this is fixed in cabal 3.8.1.0.  There are some cases in which
building dependencies only doesn't work (see #8084).
2022-11-07 08:32:54 -08:00
John MacFarlane df36019768 First stab at mtl 2.3 compliance.
This will no doubt produce a bunch of warnings and hence CI
failures, which we'll need to work around with explicit imports.
2022-10-31 16:51:51 -07:00
John MacFarlane 4f138b440b Nightly: strip executables on windows and macos. 2022-10-29 22:19:28 -07:00
John MacFarlane 73b7c63010 Use cabal for nightly builds. 2022-10-29 14:34:15 -07:00
John MacFarlane 56fe6fe417 Nightly windows: add stack clean. 2022-10-29 13:15:53 -07:00