Commit Graph

30 Commits

Author SHA1 Message Date
Franz Guzmán
159e7a1413
Refactor GitHub Actions draft workflow and Dockerfile to use upx to compress binary (#247)
* Refactor GitHub Actions draft workflow and Dockerfile to use upx to compress binary

* Update missing logic to move file to gh actions runner
2024-10-18 13:32:03 -05:00
Fabricio Mera
8161615c65
chore: Run build workflow on PR (#248) 2024-10-18 12:52:14 -05:00
David Mazarro
e91090242d
Simplification of Nix flake and removal of GHC 8 (#245)
Co-authored-by: CristhianMotoche <cristhian.motoche@gmail.com>
Co-authored-by: Sebastián Estrella <2049686+sestrella@users.noreply.github.com>
2024-10-01 10:14:44 -05:00
Óscar Izquierdo Valentín
44b5b1351a
Increate timeout for build 2024-08-20 17:10:46 +02:00
Oscar Izquierdo
dca8e4fb1c Expose minimal flake and use matrix on build code 2024-08-06 15:27:08 -05:00
Oscar Izquierdo
b87f959b89 Add alternative approach for multiple versions of the compiler 2024-08-06 15:27:08 -05:00
Sebastián Estrella
3d57576ac9
ci: Fix build workflow (#240) 2024-07-11 14:57:49 -05:00
Cristhian Motoche
ccb8d7c3ba
chore: Add All Contributors (#222)
* Add @juanpaucar as a contributor

* Add @jsl as a contributor

* Add @DavidMazarro as a contributor

* Add @sestrella as a contributor

* Add @mrkkrp as a contributor

* Add @jpvillaisaza as a contributor

* Add @CristhianMotoche as a contributor

* Add @psibi as a contributor

* Add @ibarrae as a contributor

* Add @cptrodolfox as a contributor

* Add @goetzc as a contributor

* Add @javcasas as a contributor

* Add @darthdeus as a contributor

* Add @nickovivar as a contributor

* Add @felixminom as a contributor

* Add @elcuy as a contributor

* Add @fefi95 as a contributor

* Add @alexisbcc as a contributor

* Add @GioDavid as a contributor

* Add @FranzGB as a contributor

* Add @hughjfchen as a contributor

* Add @boceto1 as a contributor

* Add @ng29 as a contributor

* Add @nebtrx as a contributor

* Add @wanderer163 as a contributor

* docs: Update README

* fix: Update install-nix-action
2023-07-31 17:21:33 -05:00
Sebastián Estrella
d0c08771c4
Reproducible development and test environments (#212)
* Setting up Nix / Running the build using Nix

* Delete other CI workflows (temporarily)

* Add cabal update

* Cache dependencies

* Run tests

* Add missing dependency required for testing

* Add macos-latest runner

* Exclude GHC 8.10 on macos-latest

* Trying something with haskell.nix overlays

* Trying to compile the project with an external flake

* Pass --accept-flake-config flag

* Install GHC package provided by haskell-nix

* Pass --accept-flake-config and enable ubuntu-latest

* Remove hello project

* Update substituters

* Test with ubuntu

* Disable macos

* Add stdenv.cc.cc.lib

* Testing ghc90 running on ubuntu-latest

* Install GMP dev

* Remove .dev from gmp

* Use propagatedBuildInputs

* Install stdenv

* Add --verbose=3

* Test ghc810 running on ubuntu-latest

* Install libstdc++6

* Fix typo

* Run nix-info

* Add nix-path

* List /usr/lib/x86_64-linux-gnu

* Run cabal clean before cabal build

* Run without cache

* Turn on cache again

* Run all builds

* Run ghc90 on ubuntu-latest only

* Install ghc from haskell on Linux and haskell-nix on Mac

* Re-enable cache

* Add labels to steps

* Add scripts to run nix-shells

* Install zsh

* Exclude GHC 8.10 from macOS

* Install zsh only on Linux

* Minor refactoring

* Merge nix workflow into build

* Remove nix workflow

* Update README file

* Fix merge conflicts

* Fix runs-on

* Add cache.nixos.org config

* Exclude ghc90 on macos-latest

* Add note about GHC 9.0 running on macOS

* Update flake.lock

* Run GHC 9.0 (macOS)

* Print GHC and cabal versions

* Disable docker job (temp change)

* Fix compilation issue

* Refactor documentation

* Re-enable docker job

* Update comment in the .cabal file

* Revert .cabal file changes

* Extract nix content to a separate file

* Extract nix content to a separate file

* Update README file

* Update TODO section

* Remove .tmuxinator.yml

* Remove table of content from the README file

* Fix typo in command

* Update Nix docs

* Update restart instructions
2023-04-18 08:27:59 -05:00
Cristhian Motoche
49e66cde51
chore: Update CI (#211)
* fix: Typo on cabal packages

* force run

* fix: Follow suggestion

* chore: Get status from master branch

* chore: Remove cabal packages from cache
2023-02-11 17:21:57 -05:00
Sebastián Estrella
56bf80c171
Tag external workflow (#202) 2022-07-01 10:49:06 -05:00
Sebastián Estrella
1465a90914
Refactor hackage job using an external workflow (#201) 2022-07-01 09:47:06 -05:00
Sebastián Estrella
f017de409c
Fix smoke test (#200) 2022-06-09 16:15:36 -05:00
Sebastián Estrella
e80dc22010
Refactoring CI workflows (#199)
Co-authored-by: Cristhian Motoche <cmotoche@stackbuilders.com>
Co-authored-by: David Mazarro <dmunuera@stackbuilders.com>
2022-06-09 11:23:16 -05:00
David Mazarro
f973b0671e
Add CI workflow step to publish on Hackage on tag push (#196)
* Barebones `hackage.yml` workflow structure

* Removed `hackage.yml`

* Added new `release` job and steps for Hackage distribution

* Commenting `release` job

* Uncommented `release` job and fixed bad syntax

* Fixed bad YAML syntax

* Removed upload-artifact/download-artifact

* Changed version variable to glob expression `*`

* Added Haddock generation and upload steps for Hackage
2022-05-20 10:16:41 +02:00
Sebastián Estrella
0e4bef339b
[#133] Create releases with pre-compiled binaries (#194)
Co-authored-by: Cristhian Motoche <cmotoche@stackbuilders.com>
Co-authored-by: David Mazarro <dmunuera@stackbuilders.com>
2022-05-11 16:30:50 -05:00
Sebastián Estrella
00f285010b
Fix build cache issues (#192) 2022-04-25 21:48:34 -05:00
Sebastián Estrella
9c793f78cc
[#188] Push image to a Docker registry (#187) 2022-04-11 14:42:59 -05:00
Sebastián Estrella
facc8b0693
[#185] Simplify CI build matrix (#186)
* Simplify CI build matrix

* Add quotes to GHC versions

* Update tested versions of GHC in cabal file

Co-authored-by: CristhianMotoche <cristhian.motoche@gmail.com>
2022-04-09 10:53:58 -05:00
Sebastián Estrella
51c2f9b550
[#181] Separate build-and-test from the release process (#183)
Co-authored-by: Franz Guzmán  <fguzman@stackbuilders.com>
2022-04-01 13:45:11 -05:00
David Mazarro
8a51f2f288
name and run in Haddock step are now in the same object
Co-authored-by: Cristhian Motoche <CristhianMotoche@users.noreply.github.com>
2022-02-09 16:07:58 +01:00
David Mazarro
52c4bbcd49
Added name to Haddock step 2022-02-09 16:00:59 +01:00
David Mazarro
739d54bddc
CI now has an error message for when Haddock step fails 2022-02-09 13:13:56 +01:00
David Mazarro
f8ac35dfb6
Added extended regex to grep at Haddock step
Also changed the regex to match numbers greater or equal than 4 since the previous commit was wrong.
2022-02-04 11:05:53 +01:00
David Mazarro
16575b5890
Changed Haddock step (again)
Now it's not verbose but supports a number of 100% coverage for more than 4 or 5 modules
2022-02-03 18:02:49 +01:00
David Mazarro
c5dd13c638
Changed command at the Haddock step 2022-02-03 16:48:12 +01:00
Juan Paucar
05835f51fe Use same ghc version as alpine image 2021-10-17 20:43:26 -05:00
Juan Paucar
b4eb58e73e Add support for GHC 9 and drop support for older than 8.6 2021-10-17 20:05:15 -05:00
Stefani Castellanos
89b9f457ae Drop support GHC 7.10 2021-06-10 07:38:38 -05:00
Esteban Ibarra
f5fa8713ad
Move to GH actions and add auth step for docker (#158) 2021-05-31 08:57:47 -05:00