Commit Graph

32 Commits

Author SHA1 Message Date
Andrea Bedini
cbd0c5da8f
Minimal test suite (#81)
* Minimal test suite

- Add support for urls with file: schema; both absolute (file:/path) and
  relative (file:path) paths are supported.

- Log curl invocation in case of failure

- Rename fetchRemoteAsset to fetchURL

- Add verbosity flag

- Bump GHC to 9.4.7

- Bump flake inputs

* Apply suggestions from code review

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>

* Add short option '-v' for '--verbosity'

* Whitespace

* Add comment explaining why the dot

* Rename withFixture to inTemporaryDirectoryWithFixture

* Small refactor of PrepareSource

* Rename TarballSource to URISource

- Move sourceUrl to Foliage.Meta.packageVersionSourceToUri

* Simplify inTemporaryDirectoryWithFixture

* Document tar and cp flags

* Reformat

---------

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2023-09-15 12:18:30 +08:00
Andrea Bedini
1c06741cc8 Reorganise GH workflows 2023-09-14 15:53:59 +08:00
Andrea Bedini
c11fe72425 Add fourmolu to the nix devshell
Use that in the CI
2023-09-14 15:53:59 +08:00
Andrea Bedini
cc610620d6 Formatting with fourmolu 2023-09-14 15:53:59 +08:00
Andrea Bedini
d265965889 Bump workflows/nix.yml a bit 2023-09-11 13:18:05 +08:00
Yvan Sraka
1a307b9f44 Delete release.yml 2023-08-08 13:50:54 +08:00
Yvan Sraka
e598d3b6f6
Update nix.yml 2023-07-25 16:35:35 +02:00
Yvan Sraka
317cabf8e0
Update release.yml 2023-06-20 11:57:17 +02:00
Yvan Sraka
d68add56b4
Add macOS artifacts to GitHub releases
This fix https://github.com/input-output-hk/foliage/issues/62 but require https://github.com/input-output-hk/foliage/issues/47 to be addressed first!
2023-06-18 12:43:17 +02:00
Yvan Sraka
48856e3ce0
Update release.yml
This is tested and working … but only for `x86_64-linux`, `flake.nix` should be updated to support other platforms :)
2023-06-08 14:32:16 +02:00
Yvan Sraka
eb060cd480
Update release.yml 2023-06-06 14:05:42 +02:00
Andrea Bedini
0f408ad7bc
Update release.yml 2023-06-05 20:33:26 +08:00
Andrea Bedini
e36b704aa8
Update release.yml 2023-06-05 20:31:20 +08:00
Yvan Sraka
ad5b4b7e20
Fix #62: Build foliage binaries
Implemented a GA using Nix for automatic build and publish a GitHub release from the latest `main` branch commit.

Consider using git tags for more controlled versioning and releases.
2023-05-31 10:22:59 +02:00
Andrea Bedini
945d48176b Fix CI 2023-03-02 15:26:44 +08:00
Andrea Bedini
25b2afaa7a Drop nix flake check
It evaluates check jobs for all systems, which require to be run on that
system given haskell.nix use of IFD.
2023-02-14 10:28:04 +08:00
Andrea Bedini
f76eb91845 Update workflows 2023-02-10 11:21:28 +08:00
Andrea Bedini
9288fdf587 Update nix workflow 2023-02-10 11:20:05 +08:00
Andrea Bedini
b374dfde9f Add update-flake-lock.yml 2023-02-10 11:16:04 +08:00
Andrea Bedini
9ba14bdb78 Bump some actions 2023-01-09 11:17:06 +08:00
Andrea Bedini
c1dcd3b958 Use IOG new cache 2022-08-23 14:49:35 +02:00
Andrea Bedini
d4a9adab79
Don't run nix flake check 2022-05-16 19:22:13 +08:00
Andrea Bedini
a294e93c97
Use IOG cache 2022-05-16 18:01:44 +08:00
Andrea Bedini
50bdae7254
Update cachix/install-nix-action 2022-04-21 16:31:31 +08:00
Andrea Bedini
ef3361c774
nix-based CI 2022-04-21 16:03:02 +08:00
Andrea Bedini
0622adc1f4
Strip release artifacts 2022-03-11 14:15:49 +08:00
Andrea Bedini
c732521394
Clean up 2022-03-11 13:57:33 +08:00
Andrea Bedini
3546211f6a
Tweaks 2022-03-11 13:54:26 +08:00
Andrea Bedini
7e230bb5b8
Automate releases 2022-03-11 10:59:27 +08:00
Andrea Bedini
25795c6d52
Release workflow 2022-03-09 22:55:51 +08:00
Andrea Bedini
6812d0e836
Tweaks 2022-03-09 21:55:26 +08:00
Andrea Bedini
db09a8d0f1
Create haskell.yml 2022-03-09 21:36:46 +08:00