Wolfgang Walther and Wolfgang Walther
9fe0f50709
ci: Add freebsd executable to releases
...
This was temporarily disabled, because of timeouts in Cirrus. This seems to work well again.
2024-02-06 10:19:31 +01:00
Wolfgang Walther and Wolfgang Walther
1c02e1e3a0
ci: Prevent creating artifact for dynamic ubuntu build
...
This is not used in the release process anyway, because we are using the static build.
2024-02-06 10:19:31 +01:00
Wolfgang Walther and Wolfgang Walther
0eca2954b3
ci: Reduce file size of cabal and stack based builds
...
By passing -split-sections to all dependencies, GHC will link only the
modules we actually use and not the full package for each dependency.
This does neither work on MacOS nor Windows, thus we don't do it for
stack right now.
Stripping unused symbols in CI will further decrease the size of those files.
2024-02-06 10:19:31 +01:00
Andrei Dziahel and Wolfgang Walther
a45058ba02
ci: reuse more previous caches (Nix & Stack)
2024-02-05 21:51:32 +01:00
dependabot[bot] and GitHub
bbc0bda6f5
build(deps): bump LouisBrunner/checks-action from 1.6.2 to 2.0.0 ( #3195 )
2024-01-29 09:35:22 -05:00
dependabot[bot] and GitHub
c1b46ffa1b
build(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5 ( #3196 )
2024-01-29 09:34:33 -05:00
Wolfgang Walther and Wolfgang Walther
43f552dbab
ci: Improve caching for static and dynamic postgrest nix packages
2024-01-26 23:24:12 +01:00
Wolfgang Walther and Wolfgang Walther
c43696c9a6
nix: Move postgrest-check-static inside derivation of static package
...
This will make the static build fail if we're not producing a static binary.
2024-01-26 23:24:12 +01:00
Wolfgang Walther
071a3d436f
ci: Fix Seed-Cachix jobs on linux
2024-01-26 18:10:38 +01:00
Wolfgang Walther and Wolfgang Walther
d75be243ac
ci: Build with GHC 9.8.1 via Cabal
2024-01-25 21:27:17 +01:00
Wolfgang Walther and Wolfgang Walther
2ffb97991d
ci: Build with GHC 9.6.4 via Cabal
...
This confirms that building with GHC 9.6.x works already, even if we can't
switch to it for the nix and stack builds, yet.
2024-01-25 21:27:17 +01:00
Andrei Dziahel and Wolfgang Walther
d7246b4851
ci: nix-store --realise to tools:
...
Since we're building only tools now, we can just specify them directly
in the `tools:` parameter of `setup-nix` action.
2024-01-22 18:17:38 +01:00
Andrei Dziahel and Wolfgang Walther
286103daf2
ci: do not rebuild postgrest
...
specify outputs to cache excluding postgrest
2024-01-22 18:17:38 +01:00
dependabot[bot] and GitHub
02312804f0
build(deps): bump actions/cache from 3 to 4 ( #3179 )
2024-01-22 09:13:30 -05:00
Wolfgang Walther and Wolfgang Walther
6682baebd2
nix: Update nixpkgs and build with GHC 9.4.8
2024-01-18 18:54:33 +01:00
dependabot[bot] and GitHub
f864437055
Bump cachix/install-nix-action from 24 to 25 ( #737 )
2024-01-15 14:38:23 -05:00
dependabot[bot] and GitHub
93bdae962e
build(deps): bump actions/upload-artifact from 3 to 4 ( #3123 )
2023-12-18 09:09:18 -05:00
dependabot[bot] and GitHub
6a34018cfc
build(deps): bump dawidd6/action-download-artifact from 2 to 3 ( #3122 )
2023-12-18 09:09:10 -05:00
dependabot[bot] and GitHub
2aa5373a27
build(deps): bump actions/download-artifact from 3 to 4 ( #3121 )
2023-12-18 09:09:02 -05:00
Andrei Dziahel and Steve Chavez
41ea4e6db6
ci: cancel in-progress loadtests for PRs as well
2023-12-07 16:01:32 -05:00
Andrei Dziahel and Steve Chavez
f9294c5e43
ci: test only head of branch
2023-12-07 16:01:32 -05:00
Andrei Dziahel and GitHub
72083361bc
ci: similar jobs use a single cache for Nix stores
...
Jobs that use the setup-nix action will share a single cache, which is created by a previous warm up Job.
2023-12-05 13:57:18 -05:00
dependabot[bot] and GitHub
92573215b9
Bump cachix/install-nix-action from 23 to 24 ( #714 )
2023-12-04 16:31:07 -05:00
Andrei Dziahel and Steve Chavez
31ce39ba36
ci: cabal+GHC: tweak caching
...
Makes it to cache only relevant directories, adds `dist-newstyle` to prevent needless rebuilding even harder and shortens cache key name by supplying `hashFiles`multiple arguments
2023-11-28 12:48:57 -05:00
Andrei Dziahel and Steve Chavez
a72241ad4e
ci: fixes job caches not producing after recent cabal upgrade
...
Recent cabal adopted XDG guidelines and stores data
across multiple directories under $HOME.
Creating ~/.cabal manually returns old behavior and allows caching single directory again.
2023-11-28 11:52:52 -05:00
Andrei Dziahel and GitHub
abcb21c69a
ci: cache Nix store with cache-nix-action ( #2992 )
...
* ci: try nix-community/cache-nix-action
* ci: add cache-id param to setup-nix action
* ci: tidy up cache keys for non-nix jobs
* ci: merge-nix-caches-linux job
* ci: merge caches other way around
* ci: reduce number of caches
Should prevent disk overflow
* ci: change cache id prefix for merge
* ci: comment out cache merging job
* ci: revert cache id prefix
* ci: setup-nix: use latest cache-nix-action
Among others, makes action logs look more tidy (see https://github.com/nix-community/cache-nix-action/commit/17d19d3d8be918757589635bc1a6830be0b129d2 )
* ci: use test-pg cache key for loadtest
2023-11-21 18:56:23 -05:00
Laurence Isla and Steve Chavez
90e3a5e29f
Add test option for PostgreSQL 16
2023-09-21 15:38:46 -03:00
Andrei Dziahel and Steve Chavez
add4dfeed5
ci: loadtest PRs against latest releases
...
Leveraging the previously-improved postgrest-loadtest-against
introduces loadtesting PRS against latest release as well.
2023-09-21 14:08:53 -03:00
Andrei Dziahel and Steve Chavez
c3169b7dc2
ci: less strict conditions for loadtest inmain
2023-09-15 16:35:20 -03:00
Andrei Dziahel and Steve Chavez
30474c424c
ci: loadtest commits to main against latest release
...
Introduces loadtest job for main branch
that runs loadtest against latest release
2023-09-14 17:10:48 -03:00
dependabot[bot] and GitHub
50c87fec88
Bump actions/checkout from 3 to 4 ( #678 )
2023-09-11 18:33:29 -03:00
dependabot[bot] and GitHub
2358b6670f
build(deps): bump actions/checkout from 3 to 4 ( #2936 )
2023-09-11 02:34:35 -03:00
dependabot[bot] and Steve Chavez
46eae105b7
Bump cachix/install-nix-action from 22 to 23
...
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 >
2023-09-04 17:14:42 -03:00
dependabot[bot] and GitHub
0dc67bed0b
build(deps): bump LouisBrunner/checks-action from 1.6.1 to 1.6.2 ( #2883 )
2023-07-31 00:17:36 -05:00
Laurence Isla and GitHub
83cf15fb7e
ci: specify GHC_VERSION for ARM build on CI config
...
* change cabal version from recommended to latest
2023-06-21 16:54:15 -05:00
steve-chavez
d9261fa674
ci: check against GHC 9.0.2
2023-06-21 16:22:30 -05:00
dependabot[bot] and GitHub
ab986b77d8
Bump cachix/install-nix-action from 21 to 22 ( #648 )
2023-06-19 10:22:57 -05:00
Laurence Isla and GitHub
772046242e
Add postgrest-docs-dictcheck to CI
2023-06-14 14:55:28 -05:00
dependabot[bot] and GitHub
11a9849152
build(deps): bump LouisBrunner/checks-action from 1.6.0 to 1.6.1 ( #2817 )
2023-06-12 10:34:48 -05:00
dependabot[bot] and Steve Chavez
d87d80108a
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 09:56:01 -05:00
dependabot[bot] and GitHub
54cbf147e3
build(deps): bump codecov/codecov-action from 3.1.3 to 3.1.4 ( #2794 )
2023-05-22 11:34:18 -05:00
dependabot[bot] and GitHub
3b55a27ef3
build(deps): bump codecov/codecov-action from 3.1.2 to 3.1.3 ( #2765 )
2023-04-24 11:21:49 -05:00
dependabot[bot] and GitHub
43da81c30c
build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.2 ( #2757 )
2023-04-18 12:25:50 -05:00
Laurence Isla and GitHub
ad7d80a430
ci: clean files from arm server only on build failure/cancel for a version release
2023-04-13 16:29:26 -05:00
steve-chavez
e572d1d1a2
feat: configurable role settings
2023-04-10 14:27:08 -05:00
Wolfgang Walther
1442e02f5f
chore: Allow seed-cachix job to keep running when part of the matrix fail
2023-04-04 18:52:52 +02:00
6da204d554
Bump cachix/install-nix-action from 19 to 20 ( #597 )
...
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-06 11:17:46 -05:00
dependabot[bot] and Steve Chavez
ba00cb98f4
build(deps): bump actions/upload-artifact from 2.3.1 to 3.1.2
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.3.1 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.3.1...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-27 12:00:46 -05:00
dependabot[bot] and Steve Chavez
6184921edc
build(deps): bump actions/checkout from 2.4.0 to 3.3.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.4.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-27 10:59:38 -05:00
steve-chavez
253f2bf537
ci: remove GHC 8.10.7
2023-02-25 14:19:52 -05:00